From 873d40b7d112962e4675268c5f3454d6a615c285 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Wed, 4 Sep 2024 21:25:52 +0300 Subject: [PATCH] Fix(delete): Fix `cmp` command line --- delete | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/delete b/delete index 6002dc4..eacf01d 100755 --- a/delete +++ b/delete @@ -21,7 +21,7 @@ rm -rf "$path_to_repo" && tmpfile="`mktemp`" && grep -v "^$path_to_repo\$" locate-all.list > "$tmpfile" && -if cmp -s mv "$tmpfile" locate-all.list; then +if cmp -s "$tmpfile" locate-all.list; then exec rm -f "$tmpfile" else exec mv "$tmpfile" locate-all.list -- 2.39.5