head 1.2; access; symbols PETIDOMO_4_0b6:1.2 PETIDOMO_4_0b5:1.1 PETIDOMO_4_0b4:1.1 PETIDOMO_4_0b3:1.1; locks; strict; comment @# @; 1.2 date 2004.03.19.15.31.22; author thl; state Exp; branches; next 1.1; 1.1 date 2004.02.02.20.19.25; author thl; state Exp; branches; next ; desc @@ 1.2 log @Upgrade and unify build environment devtool an devtool.func; change devtool.conf to require current versions of shtool, libtool and autoconf @ text @#!/bin/sh ## ## devtool -- Development Tool ## Copyright (c) 2001-2003 Ralf S. Engelschall ## if [ $# -eq 0 ]; then echo "devtool:USAGE: devtool [ ...]" 1>&2 exit 1 fi cmd="$1" shift devtoolfunc="./devtool.func" if [ ! -f devtool.conf ]; then echo "devtool:ERROR: no devtool.conf in current directory" 1>&2 exit 1 fi cmdline=`grep "^%$cmd" devtool.conf` if [ ".$cmdline" = . ]; then echo "devtool:ERROR: command $cmd not found in devtool.conf" 1>&2 exit 1 fi if [ ".$TMPDIR" != . ]; then tmpdir="$TMPDIR" elif [ ".$TEMPDIR" != . ]; then tmpdir="$TEMPDIR" else tmpdir="/tmp" fi tmpfile="$tmpdir/rc.$$.tmp" rm -f $tmpfile touch $tmpfile echo ". $devtoolfunc" >>$tmpfile ( sed >$tmpfile sh $tmpfile "$@@" rm -f $tmpfile >/dev/null 2>&1 || true @ 1.1 log @add devtool environment and bump version @ text @d4 1 a4 1 ## Copyright (c) 2001 Ralf S. Engelschall @