Skip to content

Commit 5df5580

Browse files
committed
use full path to file
1 parent c285114 commit 5df5580

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

util/update-and-sync

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@ git fetch
99
before=$(git rev-parse HEAD)
1010
git checkout origin/master
1111
after=$(git rev-parse HEAD)
12-
if [ ! -f force-update ] ; then
12+
if [ ! -f "$HOME/force-update" ] ; then
1313
if [ "$before" = "$after" ] ; then
1414
echo "nothing to do"
1515
exit
1616
fi
1717
fi
1818

19-
rm force-update
19+
rm "$HOME/force-update"
2020
LOGDIR=$HOME/doc/html/build-log
2121
mkdir -p "$LOGDIR"
2222
DATE=$(date --iso-8601=minutes)

0 commit comments

Comments
 (0)