kopia lustrzana https://github.com/wagtail/wagtail
scripts/latest.sh: if file is unchanged, do not exit with an error
rodzic
9fa78bf21b
commit
8937ffd560
|
@ -121,7 +121,7 @@ elif [ "$1" = "edit" -o "$1" = "vi" ]; then
|
|||
$editor "${LTMP}"
|
||||
if cmp "${LTMP}" "${LTMP2}" >/dev/null; then
|
||||
printf >&2 -- '%s: no changes; exiting\n' "$0"
|
||||
exit 1
|
||||
exit
|
||||
fi
|
||||
|
||||
diff -u "${LTMP2}" "${LTMP}"
|
||||
|
|
Ładowanie…
Reference in New Issue