summaryrefslogblamecommitdiffstats
path: root/inc/env.inc.sh
blob: 52284d50ea9d918a7c732dd3b574a4a94b2dbeb9 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12

                                       
                                                                                       
                                                        
     
                                       





                            

                                                    
slxsettings=$(slxsettings 2>/dev/null )
if [ $? -eq 0 ]; then
  BROOT_BUILDROOT_PATH=$(slxsettings |grep private-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