Try to find unzip.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22696 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2008-03-19 19:45:49 +00:00
parent f47edf11f2
commit 3eaa53c066

View File

@@ -1,6 +1,6 @@
#!/bin/sh
#
# Copyright (c) 2004 - 2005 Kungliga Tekniska H<>gskolan
# Copyright (c) 2004 - 2008 Kungliga Tekniska H<>gskolan
# (Royal Institute of Technology, Stockholm, Sweden).
# All rights reserved.
#
@@ -55,6 +55,22 @@ if ${hxtool} info | grep 'rand: not available' > /dev/null ; then
exit 77
fi
#--------- Try to find unzip
oldifs=$IFS
IFS=:
set -- $PATH
IFS=$oldifs
found=
for p in "$@" ; do
test -x "$p/unzip" && { found=1 ; break; }
done
test "X$found" = "X" && exit 77
#---------
echo "nist tests, version 2"
if [ ! -d "$nistdir" ] ; then