Try using -d to unzip.

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

View File

@@ -54,7 +54,8 @@ if ${hxtool} info | grep 'rand: not available' > /dev/null ; then
fi
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
if ${hxtool} validate DIR:$nistdir/certs > /dev/null; then