diff options
author | Erich Eckner <git@eckner.net> | 2021-11-13 22:50:22 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2021-11-13 22:50:22 +0100 |
commit | 752fb28b19c4c54d3f2bffd415b197a1fc087672 (patch) | |
tree | b00bc651b4546bac1d60397ab6fcab611374a9e3 /carddav-to-alpine | |
parent | e549a1a38846412f8dba49da896986ab64cabe9e (diff) | |
download | carddav-alpine-converter-752fb28b19c4c54d3f2bffd415b197a1fc087672.tar.xz |
add "
Diffstat (limited to 'carddav-to-alpine')
-rwxr-xr-x | carddav-to-alpine | 2 |
1 files changed, 1 insertions, 1 deletions
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 |