diff options
author | Nicolas Vigier <boklm@mageia.org> | 2012-05-24 14:17:29 +0000 |
---|---|---|
committer | Nicolas Vigier <boklm@mageia.org> | 2012-05-24 14:17:29 +0000 |
commit | 82a891cc83fc1dc19c0aefe2b0ad008dc41815c3 (patch) | |
tree | c03b69bb2d06b06d18283c31cc01bda69ba74a37 | |
parent | fa88b31d5ee59cfbde66152300b7505eef7b574d (diff) | |
download | release-82a891cc83fc1dc19c0aefe2b0ad008dc41815c3.tar release-82a891cc83fc1dc19c0aefe2b0ad008dc41815c3.tar.gz release-82a891cc83fc1dc19c0aefe2b0ad008dc41815c3.tar.bz2 release-82a891cc83fc1dc19c0aefe2b0ad008dc41815c3.tar.xz release-82a891cc83fc1dc19c0aefe2b0ad008dc41815c3.zip |
fix arguments test
-rwxr-xr-x | src-rpm-list | 2 |
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" ( |