Skip to content

Commit

Permalink
Fix order of instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
nothingface0 committed Dec 19, 2023
1 parent c11a42e commit 9ea4058
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions deploy_dqmgui.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,6 @@ EUID_USER_DQM=40454
# Main directory we're installing into.
INSTALLATION_DIR=/data/srv

# Where ROOT will be installed
ROOT_INSTALLATION_DIR=$INSTALLATION_DIR/root

# This scipt's directory
SCRIPT_DIR=$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" &>/dev/null && pwd)

Expand All @@ -37,15 +34,7 @@ SCRIPT_DIR=$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" &>/dev/null && pwd)
# based on the version of the package (DMWM and DQMGUI).
source $SCRIPT_DIR/config.sh

## Internal temporary paths
TMP_BASE_PATH=/tmp
ROOT_TMP_DIR="${TMP_BASE_PATH}/root"
ROOT_TMP_BUILD_DIR="${TMP_BASE_PATH}/root_build"
ROTOGLUP_TMP_DIR="${TMP_BASE_PATH}/rotoglup"
CLASSLIB_TMP_DIR="${TMP_BASE_PATH}/classlib-3.1.3"
DMWM_TMP_DIR="${TMP_BASE_PATH}/dmwm"
NUMERIC_TMP_DIR="${TMP_BASE_PATH}/numeric"
DQMGUI_TMP_DIR="${TMP_BASE_PATH}/dqmgui"

# Preliminary checks to do before installing the GUI
preliminary_checks() {
Expand Down Expand Up @@ -597,6 +586,17 @@ for ARGUMENT in "$@"; do
eval "$KEY=$VALUE"
done

## Internal temporary paths
ROOT_TMP_DIR="${TMP_BASE_PATH}/root"
ROOT_TMP_BUILD_DIR="${TMP_BASE_PATH}/root_build"
ROTOGLUP_TMP_DIR="${TMP_BASE_PATH}/rotoglup"
CLASSLIB_TMP_DIR="${TMP_BASE_PATH}/classlib-3.1.3"
DMWM_TMP_DIR="${TMP_BASE_PATH}/dmwm"
NUMERIC_TMP_DIR="${TMP_BASE_PATH}/numeric"
DQMGUI_TMP_DIR="${TMP_BASE_PATH}/dqmgui"
# Where ROOT will be installed
ROOT_INSTALLATION_DIR=$INSTALLATION_DIR/root

# Go to the installation directory
cd $INSTALLATION_DIR/

Expand Down

0 comments on commit 9ea4058

Please sign in to comment.