summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apkgrel.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/apkgrel.in b/apkgrel.in
index 645637d..83c89fd 100644
--- a/apkgrel.in
+++ b/apkgrel.in
@@ -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