aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2012-05-24 14:17:29 +0000
committerNicolas Vigier <boklm@mageia.org>2012-05-24 14:17:29 +0000
commit82a891cc83fc1dc19c0aefe2b0ad008dc41815c3 (patch)
treec03b69bb2d06b06d18283c31cc01bda69ba74a37
parentfa88b31d5ee59cfbde66152300b7505eef7b574d (diff)
downloadrelease-82a891cc83fc1dc19c0aefe2b0ad008dc41815c3.tar
release-82a891cc83fc1dc19c0aefe2b0ad008dc41815c3.tar.gz
release-82a891cc83fc1dc19c0aefe2b0ad008dc41815c3.tar.bz2
release-82a891cc83fc1dc19c0aefe2b0ad008dc41815c3.tar.xz
release-82a891cc83fc1dc19c0aefe2b0ad008dc41815c3.zip
fix arguments test
-rwxr-xr-xsrc-rpm-list2
1 files changed, 1 insertions, 1 deletions
diff --git a/src-rpm-list b/src-rpm-list
index 90f936f..28a5e48 100755
--- a/src-rpm-list
+++ b/src-rpm-list
@@ -10,7 +10,7 @@ function list_srpms()
urpmf --distrib "$dir" --qf '%name' .
}
-exit 1 || [ $# = 1 ]
+[ $# -eq 1 ] || exit 1
srpmsdir="$1"
(