Skip to content

Commit 157ccd7

Browse files
committed
Check that we are in a git tree before doing this
Former-commit-id: ad61089
1 parent 04049eb commit 157ccd7

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

planck-cljs/script/bundle

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,4 +115,6 @@ rm manifest.m
115115
mv PLKBundledOut.m ../planck
116116
# We don't want git to suggest we commit this generated
117117
# output, so we suppress it here.
118-
git update-index --assume-unchanged ../planck/PLKBundledOut.m
118+
if [ -d ../.git ]; then
119+
git update-index --assume-unchanged ../planck/PLKBundledOut.m
120+
fi;

0 commit comments

Comments
 (0)