Skip to content

Commit

Permalink
updated install.sh to fit cdiff submodules
Browse files Browse the repository at this point in the history
  • Loading branch information
RAHenriksen committed Oct 23, 2024
1 parent 592bcdb commit 7964193
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,10 @@ then
fi
fi

# Update ecoli_fbi submodule
echo "Updating ecoli_fbi submodule to the most current commit"
# Update cdiff_fbi submodule
echo "Updating cdiff_fbi submodule to the most current commit"
git submodule update --init --recursive
cd bifrost_sp_ecoli/ecoli_fbi || exit
cd bifrost_sp_cdiff/cdiff_fbi || exit

# Fetch the latest changes from the remote repository
git fetch origin
Expand All @@ -74,7 +74,7 @@ git pull origin main

# Optionally, echo the latest commit SHA
LATEST_COMMIT=$(git rev-parse HEAD)
echo "Updated ecoli_fbi to latest commit: $LATEST_COMMIT"
echo "Updated cdiff_fbi to latest commit: $LATEST_COMMIT"

# Navigate back to the main project directory
cd ../../
Expand Down

0 comments on commit 7964193

Please sign in to comment.