source: MondoRescue/branches/stable/tools/svn-env@ 548

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

Introduction of TAG concept (for pkg delivery)

  • Property svn:executable set to *
  • Property svn:keywords set to Id
File size: 537 bytes
Line 
1#!/bin/bash
2#
3# Creates common environment from SVN repository
4#
5# $Id: svn-env 548 2006-05-13 23:12:31Z bcornec $
6#
7
8# Adapt to your needs
9export BASE=${HOME}/mondo
10export TOPDIR=${BASE}/RPMS
11mkdir -p ${TOPDIR}
12export TMP=${BASE}/tmp
13mkdir -p ${TMP}
14
15# Should not be modified below
16export SVNBRANCH="branches/`cat ${TOOLHOME}/../mondo/VERSION`"
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=`svnversion .`
23export TAG=`cat ${TOOLHOME}/TAG
Note: See TracBrowser for help on using the repository browser.