This commit is contained in:
Dict Xiong 2022-07-30 13:15:12 +08:00
parent d96ee6b057
commit 754a26f1bf

View File

@ -19,7 +19,7 @@ if [[ "$(git rev-parse HEAD)" == "$dfs_commit" ]]; then
echo "Nothing to do." echo "Nothing to do."
else else
echo "Checking out to commit $dfs_commit ..." echo "Checking out to commit $dfs_commit ..."
git checkout $dfs_commit git -c advice.detachedHead=false checkout $dfs_commit
cp ./.update.sh ./update.sh cp ./.update.sh ./update.sh
chmod +x ./update.sh chmod +x ./update.sh
fi fi