From 752fb28b19c4c54d3f2bffd415b197a1fc087672 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Sat, 13 Nov 2021 22:50:22 +0100 Subject: add " --- carddav-to-alpine | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/carddav-to-alpine b/carddav-to-alpine index 85cffd8..66d885f 100755 --- a/carddav-to-alpine +++ b/carddav-to-alpine @@ -5,7 +5,7 @@ error=0 for file in 'addressbook' 'uids'; do - if [ -n $(git -C "${git_dir}" diff -- "${file}") ]; then + if [ -n "$(git -C "${git_dir}" diff -- "${file}")" ]; then >&2 printf 'File "%s" was changed relative to git.\n' "${file##*/}" exit 1 fi -- cgit v1.2.3-70-g09d2