mirror of
https://github.com/sigp/lighthouse.git
synced 2026-04-26 01:03:40 +00:00
To be explicit in replacing the old file
This commit is contained in:
@@ -74,7 +74,7 @@ if [[ -z $diff ]]; then # check for difference
|
|||||||
update+=(false)
|
update+=(false)
|
||||||
return 1 # exit a function (i.e., do nothing)
|
return 1 # exit a function (i.e., do nothing)
|
||||||
else
|
else
|
||||||
cp $2 ./book/src
|
cp $2 $1
|
||||||
changes=true
|
changes=true
|
||||||
update+=(true)
|
update+=(true)
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user