source: MondoRescue/branches/stable/tools/common-env@ 879

Last change on this file since 879 was 872, checked in by Bruno Cornec, 18 years ago

Fix bug #79 by removing use of SVNBRANCH and BASE variable in build process
WARNING: the build process doesn't allow anymore to use the script of one version for building another version

  • Property svn:executable set to *
  • Property svn:keywords set to Id
File size: 340 bytes
RevLine 
[20]1#!/bin/bash
2#
[549]3# Creates common environment
[33]4#
5# $Id: common-env 872 2006-10-04 13:08:01Z bruno $
6#
[20]7
8# Adapt to your needs
[872]9d=`dirname ${TOOLHOME}`
10if [ _"`basename ${d}/..`" = _"trunk" ]; then
11 BASE=${TOOLHOME}/../..
12else
13 BASE=${TOOLHOME}/../../..
14fi
15export TOPDIR=${BASE}/delivery
[547]16mkdir -p ${TOPDIR}
[727]17export TMPDIR=/tmp
[871]18export TMP=`mktemp -d $TMPDIR/mondobuild.XXXXXXXXXX`
[629]19
20umask 022
Note: See TracBrowser for help on using the repository browser.