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

Last change on this file since 544 was 544, checked in by bcornec, 18 years ago

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

  • Property svn:executable set to *
  • Property svn:keywords set to Id
File size: 502 bytes
Line 
1#!/bin/bash
2#
3# Creates common environment from SVN repository
4#
5# $Id: common-env 544 2006-05-13 22:11:27Z 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 VER="branches/`cat $dname/../mondo/VERSION`"
16export TMP=${BASE}/tmp
17mkdir -p ${TMP}
18
19export MINDI_VER=`cat ${BASE}/svn/${VER}/mindi/VERSION`
20export MONDO_VER=`cat ${BASE}/svn/${VER}/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.