summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--settings.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/settings.sh b/settings.sh
index f6bd566..e954101 100644
--- a/settings.sh
+++ b/settings.sh
@@ -1,7 +1,7 @@
REPO="/root/repo"
REAL="/var/lib/bcfg2"
OLDPWD="$(pwd)"
-BINDIR="$( cd -P "$( dirname "$0" )" >/dev/null && pwd )"
+BINDIR="$( cd -P "$( dirname -- "$0" )" >/dev/null && pwd )"
error() {
echo "$@" 1>&2