source: branches/stable/tools/common-env @ 547

Last change on this file since 547 was 547, checked in by bcornec, 13 years ago

Build process reviewed:
mkcommon will now export everything from SVN and create tar files containing eve
ryhting

  • Property svn:executable set to *
  • Property svn:keywords set to Id
File size: 525 bytes
Line 
1#!/bin/bash
2#
3# Creates common environment from SVN repository
4#
5# $Id: common-env 547 2006-05-13 22:36:25Z bcornec $
6#
7
8# Adapt to your needs
9export BASE=${HOME}/mondo
10export TOPDIR=${BASE}/RPMS
11mkdir -p ${TOPDIR}
12
13# Should not be modified below
14dname=`dirname $0`
15export SVNBRANCH="branches/`cat ${TOOLHOME}/../mondo/VERSION`"
16export TMP=${BASE}/tmp
17mkdir -p ${TMP}
18
19export MINDI_VER=`cat ${BASE}/svn/${SVNBRANCH}/mindi/VERSION`
20export MONDO_VER=`cat ${BASE}/svn/${SVNBRANCH}/mondo/VERSION`
21
22# To be safe for SVN commands
23cd $TOOLHOME/..
24export REVISION=`svnversion .`
Note: See TracBrowser for help on using the repository browser.