Skip to content

Commit 98857c8

Browse files
committed
Fix git rev-parse
1 parent f806051 commit 98857c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

git_update_scripts/generic-updater.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ fi
2020

2121
git --git-dir=/factorio/scenarios/"$folder"/.git/ --work-tree=/factorio/scenarios/"$folder"/ fetch "$repository" >/dev/null
2222
git --git-dir=/factorio/scenarios/"$folder"/.git/ --work-tree=/factorio/scenarios/"$folder"/ reset --hard "$repository/$branch" >/dev/null
23-
git rev-parse --short HEAD
23+
git --git-dir=/factorio/scenarios/"$folder"/.git/ --work-tree=/factorio/scenarios/"$folder"/ rev-parse --short HEAD
2424

2525
if [ "$cleanup" = true ]; then
2626
echo "Deleting all map data."

0 commit comments

Comments
 (0)