diff --git a/conf-sync.sh b/conf-sync.sh index 089358b..8daf4b8 100755 --- a/conf-sync.sh +++ b/conf-sync.sh @@ -1,6 +1,7 @@ #!/usr/bin/env bash -source "$(dirname "$0")/variables.conf" +run_directory=$(dirname $(readlink -f "$0")) +source "$run_directory/variables.conf" for dir in $sync_directory/*; do git -C $dir rev-parse 2>/dev/null >/dev/null