mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-10 12:11:59 +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)
|
||||
return 1 # exit a function (i.e., do nothing)
|
||||
else
|
||||
cp $2 ./book/src
|
||||
cp $2 $1
|
||||
changes=true
|
||||
update+=(true)
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user