aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'bin/repoman.sh')
-rwxr-xr-xbin/repoman.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/bin/repoman.sh b/bin/repoman.sh
index 923b8b2..32e9fc9 100755
--- a/bin/repoman.sh
+++ b/bin/repoman.sh
@@ -54,7 +54,7 @@ function CLEANUP() {
ENV_SETUP
-PKG_ARR=($(qatom $1))
+PKG_ARR=($(qatom "$1"))
CATEGORY="${PKG_ARR[0]}"
NAME="${PKG_ARR[1]}"
if [[ ${PKG_ARR[3]:=foo} == 'foo' ]]; then
@@ -63,7 +63,6 @@ else
VERSION="${PKG_ARR[2]}-${PKG_ARR[3]}"
fi
-PACKAGE=$1
CURR_TARGET=$2
NEXT_TARGET=$3
SETUP