Move variables holding sit paths to later place so it is consideredd by debug mode.
This commit is contained in:
parent
7819d971c2
commit
ac692f1a2d
1 changed files with 3 additions and 3 deletions
6
sit
6
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] <sit package name>"
|
||||
|
@ -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"
|
||||
|
||||
|
|
Loading…
Reference in a new issue