summaryrefslogtreecommitdiff
path: root/migrate-repo
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2014-01-08 21:04:43 -0500
committerLuke Shumaker <LukeShu@sbcglobal.net>2014-01-08 21:19:01 -0500
commitb6e8ebd66d22abf5439485985a7851e768c71e8a (patch)
treeeec7fafd8aa2285dd3b706bb1e433a0ed10c87e5 /migrate-repo
parent1d08899c3ac82047fe614a7694e5a7235f808cfd (diff)
Be very careful about using $0.
Diffstat (limited to 'migrate-repo')
-rwxr-xr-xmigrate-repo2
1 files changed, 1 insertions, 1 deletions
diff --git a/migrate-repo b/migrate-repo
index 2e44adb..751d5bd 100755
--- a/migrate-repo
+++ b/migrate-repo
@@ -1,6 +1,6 @@
#!/bin/bash
-source $(dirname $0)/config
+source "$(dirname "$(readlink -e "$0")")/config"
#dryrun="--dry-run"