zuper sourced on library load

This commit is contained in:
KatolaZ 2016-06-14 06:09:12 +01:00
parent d1a3995bff
commit f003e4e17e
1 changed files with 7 additions and 5 deletions

View File

@ -28,6 +28,13 @@ setopt pushdsilent
SDK_LIB=${SDK_LIB:-`pwd`} SDK_LIB=${SDK_LIB:-`pwd`}
########################
## Load Zuper extensions
if [[ -r $SDK_LIB/zuper/zuper ]]; then
source $SDK_LIB/zuper/zuper
else source ./zuper/zuper; fi
sdk_init(){ sdk_init(){
fn sdk_init fn sdk_init
@ -68,12 +75,7 @@ sdk_init(){
print "export SDK_LIB if installed on a different path" print "export SDK_LIB if installed on a different path"
} }
########################
## Load Zuper extensions
# conclude initialization # conclude initialization
if [[ -r $SDK_LIB/zuper/zuper ]]; then
source $SDK_LIB/zuper/zuper
else source ./zuper/zuper; fi
DEBUG=${DEBUG:-0} DEBUG=${DEBUG:-0}
QUIET=${QUIET:-0} QUIET=${QUIET:-0}