diff options
-rw-r--r-- | src/util/ss/ChangeLog | 5 | ||||
-rw-r--r-- | 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 a5ce5ab6cb..5447c7b69d 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 d41ab90417..0066422eb3 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} \ |