Last change
on this file since 3801 was 900, checked in by Bruno Cornec, 18 years ago |
Huge patch to introduce low level functions that will bw used everywhere (mr_free, mr_asprintf, ...)
Nearly linking now due to that.
|
-
Property svn:executable
set to
*
-
Property svn:keywords
set to
Id
|
File size:
365 bytes
|
Rev | Line | |
---|
[20] | 1 | #!/bin/bash
|
---|
| 2 | #
|
---|
[561] | 3 | # Creates common environment
|
---|
[33] | 4 | #
|
---|
| 5 | # $Id: common-env 900 2006-10-24 06:49:18Z bruno $
|
---|
| 6 | #
|
---|
[20] | 7 |
|
---|
| 8 | # Adapt to your needs
|
---|
[900] | 9 | d=`dirname ${TOOLHOME}`
|
---|
| 10 | if [ _"`basename ${d}/..`" = _"trunk" ]; then
|
---|
| 11 | BASE=${TOOLHOME}/../..
|
---|
| 12 | else
|
---|
| 13 | BASE=${TOOLHOME}/../../..
|
---|
| 14 | fi
|
---|
| 15 | export TOPDIR=${BASE}/delivery
|
---|
[561] | 16 | mkdir -p ${TOPDIR}
|
---|
[900] | 17 |
|
---|
[729] | 18 | export TMPDIR=/tmp
|
---|
[900] | 19 | export MONDOTMP=`mktemp -d $TMPDIR/mondobuild.XXXXXXXXXX`
|
---|
| 20 | mkdir -p $MONDOTMP
|
---|
[649] | 21 |
|
---|
| 22 | umask 022
|
---|
Note:
See
TracBrowser
for help on using the repository browser.