source: MondoRescue/trunk/tools/common-env@ 518

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

merge -r316:319 $SVN_M/branches/2.06

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