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

Last change on this file since 547 was 547, checked in by bcornec, 18 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
RevLine 
[20]1#!/bin/bash
2#
[319]3# Creates common environment from SVN repository
[33]4#
5# $Id: common-env 547 2006-05-13 22:36:25Z bcornec $
6#
[20]7
8# Adapt to your needs
[33]9export BASE=${HOME}/mondo
[547]10export TOPDIR=${BASE}/RPMS
11mkdir -p ${TOPDIR}
[20]12
13# Should not be modified below
[265]14dname=`dirname $0`
[545]15export SVNBRANCH="branches/`cat ${TOOLHOME}/../mondo/VERSION`"
[20]16export TMP=${BASE}/tmp
17mkdir -p ${TMP}
18
[545]19export MINDI_VER=`cat ${BASE}/svn/${SVNBRANCH}/mindi/VERSION`
20export MONDO_VER=`cat ${BASE}/svn/${SVNBRANCH}/mondo/VERSION`
[54]21
[319]22# To be safe for SVN commands
23cd $TOOLHOME/..
[547]24export REVISION=`svnversion .`
Note: See TracBrowser for help on using the repository browser.