Skip to content

Commit

Permalink
BF: specify pyft version when installed from scratch
Browse files Browse the repository at this point in the history
  • Loading branch information
SebastienRietteMTO committed Oct 8, 2024
1 parent 2ba3ba6 commit 0d85e8b
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions tools/INSTALL.sh
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ if [ $pyft -eq 1 ]; then
else
git clone https://github.com/UMR-CNRM/pyft.git
fi
cd pyft
else
#Update
cd pyft
Expand All @@ -103,11 +104,11 @@ if [ $pyft -eq 1 ]; then
git fetch https://github.com/UMR-CNRM/pyft.git
fi
fi
if [ $(git rev-parse HEAD^{commit}) != $(git rev-parse ${pyft_version}^{commit}) ]; then
git checkout ${pyft_version}
fi
cd ..
fi
if [ $(git rev-parse HEAD^{commit}) != $(git rev-parse ${pyft_version}^{commit}) ]; then
git checkout ${pyft_version}
fi
cd ..
#Install/update
if [ $ssh -eq 1 ]; then
./pyft/bin/INSTALL.sh --ssh
Expand Down

0 comments on commit 0d85e8b

Please sign in to comment.