Skip to content

Commit

Permalink
changes for docker tests
Browse files Browse the repository at this point in the history
  • Loading branch information
AlvinSchiller committed Nov 15, 2023
1 parent 82aa631 commit 06ce9ec
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion installation/install-jukebox.sh
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,13 @@ download_jukebox_source() {
checkPrerequisite

### RUN INSTALLATION
cd "${HOME_PATH}"
INSTALLATION_LOGFILE="${HOME_PATH}/INSTALL-${INSTALL_ID}.log"
exec 3>&1 1>>"${INSTALLATION_LOGFILE}" 2>&1 || { echo "Cannot create log file. Panic."; exit 1; }
if [ "$DOCKER_RUNNING" == "true" ]; then
exec 3>&1 2>&1
else
exec 3>&1 1>>"${INSTALLATION_LOGFILE}" 2>&1 || { echo "Cannot create log file. Panic."; exit 1; }
fi
echo "Log start: ${INSTALL_ID}"

clear 1>&3
Expand Down

0 comments on commit 06ce9ec

Please sign in to comment.