Set main script to new run_directory norm

This commit is contained in:
Alexandre CATTEAU 2022-09-22 18:45:35 +02:00
parent ef03efe3c5
commit 11db96cb90

View File

@ -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