diff options
Diffstat (limited to 'inc/env.inc.sh')
-rw-r--r-- | inc/env.inc.sh | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/inc/env.inc.sh b/inc/env.inc.sh index bab613c..34e9c5b 100644 --- a/inc/env.inc.sh +++ b/inc/env.inc.sh @@ -1,12 +1,14 @@ slxsettings=$(slxsettings 2>/dev/null ) if [ $? -eq 0 ]; then - buildrootpath=$(slxsettings |grep public-path | sed -e "s,^.*='\(.*\)'$,\1,") - buildrootpath="$buildrootpath/buildroot" + BROOT_BUILDROOT_PATH=$(slxsettings |grep public-path | sed -e "s,^.*='\(.*\)'$,\1,") + BROOT_BUILDROOT_PATH="$BROOT_BUILDROOT_PATH/buildroot" else - buildrootpath="/tmp/buildroot" + BROOT_BUILDROOT_PATH="/tmp/buildroot" fi SCRIPT=$(readlink -f $0) SCRIPTPATH=`dirname $SCRIPT` BROOT_BASE_DIR=$SCRIPTPATH +BROOT_LOG=/tmp/broot.log +[ -e /tmp/.broot.tasks ] && rm -rf /tmp/.broot.tasks |