Try using -d to unzip.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21822 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2007-08-03 15:13:07 +00:00
parent ae310c39d8
commit 2dc62f8edb

View File

@@ -55,7 +55,8 @@ if ${hxtool} info | grep 'rand: not available' > /dev/null ; then
fi fi
if [ ! -d "$nistdir" ] ; then if [ ! -d "$nistdir" ] ; then
( mkdir "$nistdir" && cd "$nistdir" && unzip "$nistzip" ) || { rm -rf "$nistdir" ; exit 1; } ( mkdir "$nistdir" && cd "$nistdir" && unzip "$nistzip" ) >/dev/null || \
{ rm -rf "$nistdir" ; exit 1; }
fi fi
echo "nist pkcs12 tests" echo "nist pkcs12 tests"