From ac692f1a2d23cc0847e610f6984bfb4b86b12e8c Mon Sep 17 00:00:00 2001 From: Christoph Niethammer Date: Tue, 3 May 2016 06:52:25 +0000 Subject: [PATCH] Move variables holding sit paths to later place so it is consideredd by debug mode. --- sit | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sit b/sit index 2c5e5e1..c3ff082 100755 --- a/sit +++ b/sit @@ -6,9 +6,6 @@ # set -e -SIT_PATH=$(cd $(dirname $PWD/$0); pwd) -SIT_CONFIG_FILE=$SIT_PATH/etc/sit.conf -SIT_USER_CONFIG_FILE=$HOME/.sit function show_help() { echo "Usage: $0 [options] [action] " @@ -74,6 +71,9 @@ while [ "$1" != "" ] ; do shift done +SIT_PATH=$(cd $(dirname $PWD/$0); pwd) +SIT_CONFIG_FILE=$SIT_PATH/etc/sit.conf +SIT_USER_CONFIG_FILE=$HOME/.sit source "$SIT_PATH/functions.sh"