Changeset 900 in MondoRescue for trunk/tools/common-env


Ignore:
Timestamp:
Oct 24, 2006, 8:49:18 AM (18 years ago)
Author:
Bruno Cornec
Message:

Huge patch to introduce low level functions that will bw used everywhere (mr_free, mr_asprintf, ...)
Nearly linking now due to that.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/common-env

    r764 r900  
    77
    88# Adapt to your needs
    9 export BASE=${HOME}/mondo
    10 export TOPDIR=${BASE}/build
     9d=`dirname ${TOOLHOME}`
     10if [ _"`basename ${d}/..`" = _"trunk" ]; then
     11    BASE=${TOOLHOME}/../..
     12else
     13    BASE=${TOOLHOME}/../../..
     14fi
     15export TOPDIR=${BASE}/delivery
    1116mkdir -p ${TOPDIR}
     17
    1218export TMPDIR=/tmp
    13 export TMP=`mktemp -d /tmp/mondobuild.XXXXXXXXXX`
     19export MONDOTMP=`mktemp -d $TMPDIR/mondobuild.XXXXXXXXXX`
     20mkdir -p $MONDOTMP
    1421
    1522umask 022
Note: See TracChangeset for help on using the changeset viewer.