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"