mirror of
https://github.com/sigp/lighthouse.git
synced 2026-05-08 09:16:00 +00:00
@@ -67,7 +67,7 @@ check() {
|
|||||||
local new_file="$2"
|
local new_file="$2"
|
||||||
|
|
||||||
if [[ -f $file ]]; then # check for existence of file
|
if [[ -f $file ]]; then # check for existence of file
|
||||||
diff=$(diff $file $new_file)
|
diff=$(diff $file $new_file || :)
|
||||||
else
|
else
|
||||||
cp $new_file $file
|
cp $new_file $file
|
||||||
changes=true
|
changes=true
|
||||||
|
|||||||
Reference in New Issue
Block a user