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

Last change on this file since 727 was 727, checked in by Bruno Cornec, 18 years ago

mktemp -p is not available on old distros (mdk101, rh73, rh9) so use of TMPDIR instead)

  • Property svn:executable set to *
  • Property svn:keywords set to Id
File size: 204 bytes
RevLine 
[20]1#!/bin/bash
2#
[549]3# Creates common environment
[33]4#
5# $Id: common-env 727 2006-07-30 09:58:46Z bruno $
6#
[20]7
8# Adapt to your needs
[33]9export BASE=${HOME}/mondo
[550]10export TOPDIR=${BASE}/build
[547]11mkdir -p ${TOPDIR}
[727]12export TMPDIR=/tmp
13export TMP=`mktemp -d`
[629]14
15umask 022
Note: See TracBrowser for help on using the repository browser.