add some checks to prevent misunderstandings

This commit is contained in:
nicolson%netscape.com 2002-05-07 20:44:48 +00:00
Родитель 56f8e3b5e8
Коммит dd6484222e
1 изменённых файлов: 2 добавлений и 1 удалений

Просмотреть файл

@ -11,7 +11,6 @@ provider\.new/
org/mozilla/jss/pkcs11/PK11DSAPrivateKey\.java
org/mozilla/jss/provider/java/security/KeyFactorySpi1_4\.java
org/mozilla/jss/pkix/cert/X509Certificate\.java
org/mozilla/jss/provider/java/security/.*Cipher.*
samples/
);
@ -93,10 +92,12 @@ sub setup_vars {
grab_cmdline_vars($argv);
dump_cmdline_vars();
$ENV{JAVA_HOME} or die "Must specify JAVA_HOME environment variable";
$javac = "$ENV{JAVA_HOME}/bin/javac";
$javah = "$ENV{JAVA_HOME}/bin/javah";
$dist_dir = $cmdline_vars{SOURCE_PREFIX};
$ENV{JCE_JAR} or die "Must specify JCE_JAR environment variable";
$jce_jar = $ENV{JCE_JAR};
$class_release_dir = $cmdline_vars{SOURCE_RELEASE_PREFIX};