head 1.2; access; symbols OSSP_RC_0_7_3:1.2 OSSP_RC_0_7_2:1.2 OSSP_RC_0_7_1:1.2 OSSP_RC_ALPHA_06:1.1 OSSP_RC_EXBROKEN:1.1 OSSP_RC_SPEC:1.1; locks; strict; comment @# @; 1.2 date 2003.07.07.12.55.42; author ms; state Exp; branches; next 1.1; 1.1 date 2002.01.18.16.47.17; author ms; state Exp; branches; next ; desc @@ 1.2 log @Correct and update copyrights and source headers. @ 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 @Give rc a devtool. PR: Submitted by: Reviewed by: Approved by: Obtained from: @ text @d4 1 a4 1 ## Copyright (c) 2001-2002 Ralf S. Engelschall @