summaryrefslogtreecommitdiff
path: root/bin/runmirrors
diff options
context:
space:
mode:
Diffstat (limited to 'bin/runmirrors')
-rwxr-xr-xbin/runmirrors5
1 files changed, 3 insertions, 2 deletions
diff --git a/bin/runmirrors b/bin/runmirrors
index 8ce2919..57709b5 100755
--- a/bin/runmirrors
+++ b/bin/runmirrors
@@ -29,8 +29,9 @@ BASEDIR=${BASEDIR:-"${HOME}"}
NAME="`basename $0`"
# In case we are called with an argument we look for a different configuration.
-if [ -n "$1" ]; then
- NAME="${NAME}-$1"
+CONF=${1:-""}
+if [ -n "${CONF}" ]; then
+ NAME="${NAME}-${CONF}"
fi
# Read our config file