- (tim) [regress/kextype.sh] Shell portability fix.

This commit is contained in:
Tim Rice 2010-11-07 13:03:11 -08:00
parent 522262f8b3
commit c10aeaa8f2
2 changed files with 3 additions and 2 deletions

View File

@ -1,6 +1,7 @@
20101108 20101108
- (tim) [regress/Makefile] Fixes to allow building/testing outside source - (tim) [regress/Makefile] Fixes to allow building/testing outside source
tree. tree.
- (tim) [regress/kextype.sh] Shell portability fix.
20101107 20101107
- (dtucker) [platform.c] includes.h instead of defines.h so that we get - (dtucker) [platform.c] includes.h instead of defines.h so that we get

View File

@ -14,8 +14,8 @@ fi
for kt in $ktypes; do for kt in $ktypes; do
rm -f $OBJ/key.$kt rm -f $OBJ/key.$kt
bits=${kt#*-} bits=`echo ${kt} | awk -F- '{print $2}'`
type=${kt%-*} type=`echo ${kt} | awk -F- '{print $1}'`
printf "keygen $type, $bits bits:\t" printf "keygen $type, $bits bits:\t"
${TIME} ${SSHKEYGEN} -b $bits -q -N '' -t $type -f $OBJ/key.$kt ||\ ${TIME} ${SSHKEYGEN} -b $bits -q -N '' -t $type -f $OBJ/key.$kt ||\
fail "ssh-keygen for type $type, $bits bits failed" fail "ssh-keygen for type $type, $bits bits failed"