head 1.1; access; symbols SHIELA_1_1_7:1.1 SHIELA_1_1_6:1.1 SHIELA_1_1_5:1.1 SHIELA_1_1_4:1.1 SHIELA_1_1_3:1.1 SHIELA_1_1_2:1.1 SHIELA_1_1_1:1.1 SHIELA_1_1_0:1.1 SHIELA_1_0_4:1.1 SHIELA_1_0_3:1.1 SHIELA_1_0_2:1.1 SHIELA_1_0_1:1.1 SHIELA_1_0_0:1.1 SHIELA_0_9_2:1.1; locks; strict; comment @# @; 1.1 date 2002.08.19.19.10.38; author rse; state Exp; branches; next ; desc @@ 1.1 log @Switched to the OSSP devtool build environment and upgraded to GNU shtool 1.6.1 and GNU autoconf 2.53. @ text @#!/bin/sh ## ## devtool -- Development Tool ## Copyright (c) 2001 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 @