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

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

revert to 543

  • Property svn:executable set to *
  • Property svn:keywords set to Id
File size: 489 bytes
RevLine 
[20]1#!/bin/bash
2#
[319]3# Creates common environment from SVN repository
[33]4#
5# $Id: common-env 545 2006-05-13 22:32:41Z 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`
[545]13export SVNBRANCH="branches/`cat ${TOOLHOME}/../mondo/VERSION`"
[20]14export TMP=${BASE}/tmp
15mkdir -p ${TMP}
16
[545]17export MINDI_VER=`cat ${BASE}/svn/${SVNBRANCH}/mindi/VERSION`
18export MONDO_VER=`cat ${BASE}/svn/${SVNBRANCH}/mondo/VERSION`
[54]19
[319]20# To be safe for SVN commands
21cd $TOOLHOME/..
[545]22export REVISION=`$TOOLHOME/mksvnversion`
Note: See TracBrowser for help on using the repository browser.