diff options
author | Tim Rice <tim@multitalents.net> | 2010-11-07 13:03:11 -0800 |
---|---|---|
committer | Tim Rice <tim@multitalents.net> | 2010-11-07 13:03:11 -0800 |
commit | c10aeaa8f2f8614de323c5e6d7268b063a321261 (patch) | |
tree | fdd4da97884770f783b666050129305bc7bc50dc | |
parent | 522262f8b328e6d5951bf2a77f22080bdc123f04 (diff) |
- (tim) [regress/kextype.sh] Shell portability fix.
-rw-r--r-- | ChangeLog | 1 | ||||
-rw-r--r-- | regress/keytype.sh | 4 |
2 files changed, 3 insertions, 2 deletions
@@ -1,6 +1,7 @@ | |||
1 | 20101108 | 1 | 20101108 |
2 | - (tim) [regress/Makefile] Fixes to allow building/testing outside source | 2 | - (tim) [regress/Makefile] Fixes to allow building/testing outside source |
3 | tree. | 3 | tree. |
4 | - (tim) [regress/kextype.sh] Shell portability fix. | ||
4 | 5 | ||
5 | 20101107 | 6 | 20101107 |
6 | - (dtucker) [platform.c] includes.h instead of defines.h so that we get | 7 | - (dtucker) [platform.c] includes.h instead of defines.h so that we get |
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 | ||
15 | for kt in $ktypes; do | 15 | for 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" |