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