summaryrefslogtreecommitdiffstats
path: root/inc/env.inc.sh
blob: 34e9c5b65cbdb1a4b34491f8197cd943c6b23c3c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
slxsettings=$(slxsettings 2>/dev/null )
if [ $? -eq 0 ]; then
  BROOT_BUILDROOT_PATH=$(slxsettings |grep public-path | sed -e "s,^.*='\(.*\)'$,\1,")
  BROOT_BUILDROOT_PATH="$BROOT_BUILDROOT_PATH/buildroot"
else 
  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