Skip to content

Commit

Permalink
Use relative symlink to get IMP install directory
Browse files Browse the repository at this point in the history
  • Loading branch information
benmwebb committed Jun 26, 2024
1 parent d960dd7 commit a4bbf13
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,8 @@ fi
do_build() {
PLATFORM=$1
BRANCH=$2
if [ -d $HOME/diva1/home/imp ]; then
IMPINSTALL=`readlink $HOME/diva1/home/imp/${BRANCH}/.SVN-new | sed -e "s,/salilab,$HOME,"`
else
IMPINSTALL=`readlink /salilab/diva1/home/imp/${BRANCH}/.SVN-new`
fi
# Get directory to install this branch of IMP in (populated by setup_build.sh)
IMPINSTALL=$(cd ${IMP_INSTALL_TOP}/${BRANCH}/.new && pwd -P)

# Skip non-develop build if nothing has changed
if [ ${BRANCH} != "develop" ]; then
Expand Down

0 comments on commit a4bbf13

Please sign in to comment.