ossp-pkg/shtool/sh.version 1.32 -> 1.33
--- sh.version 2002/02/23 09:18:03 1.32
+++ sh.version 2003/02/11 12:56:40 1.33
@@ -46,7 +46,7 @@
# use given triple
if [ ".`echo $triple | grep '[0-9]*.[0-9]*[sabp.][0-9]*'`" = . ]; then
echo "$msgprefix:Error: invalid argument to option \`-s': \`$opt_s'" 1>&2
- exit 1
+ shtool_exit 1
fi
eval `echo $triple |\
sed -e 's%\([0-9]*\)\.\([0-9]*\)\([sabp.]\)\([0-9]*\).*%\
@@ -79,7 +79,7 @@
l ) lev=`expr $lev + 1`
;;
* ) echo "$msgprefix:Error: invalid argument to option \`-i': \`$opt_i'" 1>&2
- exit 1
+ shtool_exit 1
;;
esac
tim=calc
@@ -173,7 +173,7 @@
echo "${hex}"
;;
* ) echo "$msgprefix:Error: invalid argument to option \`-d': \`$opt_d'" 1>&2
- exit 1
+ shtool_exit 1
;;
esac
else
@@ -299,7 +299,7 @@
echo >>$file ""
;;
* ) echo "$msgprefix:Error: invalid argument to option \`-l': \`$opt_l'" 1>&2
- exit 1
+ shtool_exit 1
;;
esac
fi
|
|