summaryrefslogtreecommitdiff
path: root/bin/runmirrors
diff options
context:
space:
mode:
Diffstat (limited to 'bin/runmirrors')
-rwxr-xr-xbin/runmirrors4
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/runmirrors b/bin/runmirrors
index a1623fd..6d4faed 100755
--- a/bin/runmirrors
+++ b/bin/runmirrors
@@ -56,7 +56,9 @@ if [ $# -gt 0 ]; then
while getopts ':a:k:fh' OPTION ; do
case $OPTION in
a) CONF="${OPTARG}"
- NAME="${NAME}-${CONF}"
+ if [ -n "${CONF}" ]; then
+ NAME="${NAME}-${CONF}"
+ fi
;;
k) PUSHKIND="${OPTARG}"
;;