From de127a1372455a55209351a2c879955562408f90 Mon Sep 17 00:00:00 2001 From: Mark Eichin Date: Thu, 23 Feb 1995 19:34:01 +0000 Subject: [PATCH] * 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 --- src/util/ss/ChangeLog | 5 +++++ src/util/ss/mk_cmds.sh | 5 +++-- 2 files changed, 8 insertions(+), 2 deletions(-) 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} \ -- 2.26.2