From 83e408831335689d55f9cbfaaa7cd66ea2a2d811 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Mon, 3 Nov 2008 11:01:42 +0100 Subject: [PATCH] xbps: fix argc handling. --HG-- extra : convert_revision : f623bdaf61b0d86c8d2eaa2105f9836601b7e93d --- xbps.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xbps.sh b/xbps.sh index 262bb8c042b..cc11e889dd4 100755 --- a/xbps.sh +++ b/xbps.sh @@ -1402,7 +1402,7 @@ while getopts "Cc:" opt; do done shift $(($OPTIND - 1)) -[ $# -eq 0 -o $# -gt 4 ] && usage +[ $# -eq 0 -o $# -gt 2 ] && usage target="$1" if [ -z "$target" ]; then