Last change
on this file since 1581 was 882, checked in by Bruno Cornec, 19 years ago |
- Build process reviewed to fix again bug #79
- MONDOTMP now used uniformaly across all scripts
- mandriva has its own set of variables
- svn2build should now generate directories in the right place
|
-
Property svn:executable
set to
*
-
Property svn:keywords
set to
Id
|
File size:
365 bytes
|
Line | |
---|
1 | #!/bin/bash
|
---|
2 | #
|
---|
3 | # Creates common environment
|
---|
4 | #
|
---|
5 | # $Id: common-env 882 2006-10-08 09:48:30Z bruno $
|
---|
6 | #
|
---|
7 |
|
---|
8 | # Adapt to your needs
|
---|
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
|
---|
16 | mkdir -p ${TOPDIR}
|
---|
17 |
|
---|
18 | export TMPDIR=/tmp
|
---|
19 | export MONDOTMP=`mktemp -d $TMPDIR/mondobuild.XXXXXXXXXX`
|
---|
20 | mkdir -p $MONDOTMP
|
---|
21 |
|
---|
22 | umask 022
|
---|
Note:
See
TracBrowser
for help on using the repository browser.