From: Mark Eichin Date: Thu, 23 Feb 1995 19:34:01 +0000 (+0000) Subject: * mk_cmds.sh: use ${SED} not sed in backtick expressions. X-Git-Tag: krb5-1.0-beta5~673 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=de127a1372455a55209351a2c879955562408f90;p=krb5.git * mk_cmds.sh: use ${SED} not sed in backtick expressions. Use set -e so that if ${FILE} isn't found we actually fail. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4995 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/util/ss/ChangeLog b/src/util/ss/ChangeLog index a5ce5ab6c..5447c7b69 100644 --- a/src/util/ss/ChangeLog +++ b/src/util/ss/ChangeLog @@ -1,3 +1,8 @@ +Thu Feb 23 14:24:31 1995 Mark Eichin (eichin@cygnus.com) + + * mk_cmds.sh: use ${SED} not sed in backtick expressions. + Use set -e so that if ${FILE} isn't found we actually fail. + Sat Oct 22 09:54:50 1994 (tytso@rsx-11) * list_rqs.c (ss_list_requests): diff --git a/src/util/ss/mk_cmds.sh b/src/util/ss/mk_cmds.sh index d41ab9041..0066422eb 100644 --- a/src/util/ss/mk_cmds.sh +++ b/src/util/ss/mk_cmds.sh @@ -6,9 +6,10 @@ DIR=@DIR@ AWK=@AWK@ SED=@SED@ +set -e FILE=$1 -ROOT=`echo $1 | sed -e s/.ct$//` -BASE=`echo $ROOT | sed -e 's;.*/;;'` +ROOT=`echo $1 | ${SED} -e s/.ct$//` +BASE=`echo $ROOT | ${SED} -e 's;.*/;;'` TMP=ct$$.c ${SED} -f ${DIR}/ct_c.sed ${FILE} \