Avoid a warning.
authorUlf Möller <ulf@openssl.org>
Thu, 20 May 1999 02:09:46 +0000 (02:09 +0000)
committerUlf Möller <ulf@openssl.org>
Thu, 20 May 1999 02:09:46 +0000 (02:09 +0000)
Submitted by: Sylvain Robitaille <syl@alcor.concordia.ca>

apps/CA.pl

index 901f8c99fbd7f9c4e5eefd6c38a0c7a888d424a6..7c023ae71f66c5b3ccc91afb1f40341511cb9e1c 100755 (executable)
@@ -68,7 +68,7 @@ foreach (@ARGV) {
                # if explictly asked for or it doesn't exist then setup the
                # directory structure that Eric likes to manage things 
            $NEW="1";
-           if ( "$NEW" || ! -f ${CATOP}/serial ) {
+           if ( "$NEW" || ! -f "${CATOP}/serial" ) {
                # create the directory hierarchy
                mkdir $CATOP, $DIRMODE;
                mkdir "${CATOP}/certs", $DIRMODE;