summaryrefslogtreecommitdiff
path: root/regress
diff options
context:
space:
mode:
authorTim Rice <tim@multitalents.net>2010-11-07 13:03:11 -0800
committerTim Rice <tim@multitalents.net>2010-11-07 13:03:11 -0800
commitc10aeaa8f2f8614de323c5e6d7268b063a321261 (patch)
treefdd4da97884770f783b666050129305bc7bc50dc /regress
parent522262f8b328e6d5951bf2a77f22080bdc123f04 (diff)
- (tim) [regress/kextype.sh] Shell portability fix.
Diffstat (limited to 'regress')
-rw-r--r--regress/keytype.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/regress/keytype.sh b/regress/keytype.sh
index cd9024587..73858668e 100644
--- a/regress/keytype.sh
+++ b/regress/keytype.sh
@@ -14,8 +14,8 @@ fi
14 14
15for kt in $ktypes; do 15for kt in $ktypes; do
16 rm -f $OBJ/key.$kt 16 rm -f $OBJ/key.$kt
17 bits=${kt#*-} 17 bits=`echo ${kt} | awk -F- '{print $2}'`
18 type=${kt%-*} 18 type=`echo ${kt} | awk -F- '{print $1}'`
19 printf "keygen $type, $bits bits:\t" 19 printf "keygen $type, $bits bits:\t"
20 ${TIME} ${SSHKEYGEN} -b $bits -q -N '' -t $type -f $OBJ/key.$kt ||\ 20 ${TIME} ${SSHKEYGEN} -b $bits -q -N '' -t $type -f $OBJ/key.$kt ||\
21 fail "ssh-keygen for type $type, $bits bits failed" 21 fail "ssh-keygen for type $type, $bits bits failed"