1. Matthew Turk
  2. yt-3.0

Commits

Britton Smith  committed 2167146

Moved setting of DEST_DIR to YT_DEST in install script to maintain
script readability.

  • Participants
  • Parent commits adf9f1b
  • Branches yt

Comments (0)

Files changed (1)

File doc/install_script.sh

View file
  • Ignore whitespace
 # And, feel free to drop me a line: matthewturk@gmail.com
 #
 
+DEST_SUFFIX="yt-`uname -m`"
+DEST_DIR="`pwd`/${DEST_SUFFIX/ /}"   # Installation location
+BRANCH="yt" # This is the branch to which we will forcibly update.
+
 if [ ${REINST_YT} -eq 1 ] && [ -n ${YT_DEST} ]
 then
     DEST_DIR=${YT_DEST}
-else
-    DEST_SUFFIX="yt-`uname -m`"
-    DEST_DIR="`pwd`/${DEST_SUFFIX/ /}"   # Installation location
 fi
-BRANCH="yt" # This is the branch to which we will forcibly update.
 
 # Here's where you put the HDF5 path if you like; otherwise it'll download it
 # and install it on its own