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

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

revert to 543

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