diff options
-rw-r--r-- | apkgrel.in | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -43,9 +43,9 @@ do_set() { do_add () { local f= old= - for f in "$@"; do + for f; do [ -n "$only_clean_git" ] \ - && [ -n "$(git diff --name-only $f)" ] \ + && [ -n "$(git diff --name-only "$f")" ] \ && continue [ -d "$f" ] && f="$f/APKBUILD" old=$(show_plain "$f") @@ -57,7 +57,7 @@ do_add () { do_verify() { [ -n "$force" ] && return 0 local f= rc=0 - for f in "$@"; do + for f; do [ -d "$f" ] && f="$f/APKBUILD" if ! grep -q '^pkgrel=[0-9]' "$f"; then echo "$f: Has no proper pkgrel" >&2 |