summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMark Eichin <eichin@mit.edu>1995-02-23 19:34:01 +0000
committerMark Eichin <eichin@mit.edu>1995-02-23 19:34:01 +0000
commitde127a1372455a55209351a2c879955562408f90 (patch)
treea120215b359149a60bf59946d0ad3969623aad2f /src
parente5847b9caf32f6644f84a84608a5c6079d0462c6 (diff)
downloadkrb5-de127a1372455a55209351a2c879955562408f90.tar.gz
krb5-de127a1372455a55209351a2c879955562408f90.tar.xz
krb5-de127a1372455a55209351a2c879955562408f90.zip
* 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
Diffstat (limited to 'src')
-rw-r--r--src/util/ss/ChangeLog5
-rw-r--r--src/util/ss/mk_cmds.sh5
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} \