From d6945e10b5ff74a663949a0a126ac43f16cbc44a Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Mon, 29 Oct 2001 13:06:29 +0000 Subject: [PATCH] Addapt VMS scripts to the newer disk layout system ODS-5, which allows more than one period and mixed size characters in file names --- apps/makeapps.com | 1 + crypto/crypto-lib.com | 1 + makevms.com | 10 ++++++++-- ssl/ssl-lib.com | 1 + test/maketests.com | 1 + 5 files changed, 12 insertions(+), 2 deletions(-) diff --git a/apps/makeapps.com b/apps/makeapps.com index 7e9d0ac8d6..fe55369843 100644 --- a/apps/makeapps.com +++ b/apps/makeapps.com @@ -1133,6 +1133,7 @@ $! $! Save directory information $! $ __HERE = F$PARSE(F$PARSE("A.;",F$ENVIRONMENT("PROCEDURE"))-"A.;","[]A.;") - "A.;" +$ __HERE = F$EDIT(__HERE,"UPCASE") $ __TOP = __HERE - "APPS]" $ __INCLUDE = __TOP + "INCLUDE.OPENSSL]" $! diff --git a/crypto/crypto-lib.com b/crypto/crypto-lib.com index 70b98f2779..0c77fd4763 100644 --- a/crypto/crypto-lib.com +++ b/crypto/crypto-lib.com @@ -1456,6 +1456,7 @@ $! $! Save directory information $! $ __HERE = F$PARSE(F$PARSE("A.;",F$ENVIRONMENT("PROCEDURE"))-"A.;","[]A.;") - "A.;" +$ __HERE = F$EDIT(__HERE,"UPCASE") $ __TOP = __HERE - "CRYPTO]" $ __INCLUDE = __TOP + "INCLUDE.OPENSSL]" $! diff --git a/makevms.com b/makevms.com index 2577537449..da6a1faa50 100755 --- a/makevms.com +++ b/makevms.com @@ -196,8 +196,14 @@ $ IF F$SEARCH("[.CRYPTO]OPENSSLCONF_H.IN") .NES. "" $ THEN $ TYPE [.CRYPTO]OPENSSLCONF_H.IN /OUTPUT=H_FILE: $ ELSE -$ WRITE SYS$ERROR "Couldn't find a [.CRYPTO]OPENSSLCONF.H_IN. Exiting!" -$ EXIT 0 +$ ! For ODS-5 +$ IF F$SEARCH("[.CRYPTO]OPENSSLCONF.H.IN") .NES. "" +$ THEN +$ TYPE [.CRYPTO]OPENSSLCONF.H.IN /OUTPUT=H_FILE: +$ ELSE +$ WRITE SYS$ERROR "Couldn't find a [.CRYPTO]OPENSSLCONF.H_IN. Exiting!" +$ EXIT 0 +$ ENDIF $ ENDIF $ ENDIF $! diff --git a/ssl/ssl-lib.com b/ssl/ssl-lib.com index 0a8581898c..436510dd67 100644 --- a/ssl/ssl-lib.com +++ b/ssl/ssl-lib.com @@ -1197,6 +1197,7 @@ $! $! Save directory information $! $ __HERE = F$PARSE(F$PARSE("A.;",F$ENVIRONMENT("PROCEDURE"))-"A.;","[]A.;") - "A.;" +$ __HERE = F$EDIT(__HERE,"UPCASE") $ __TOP = __HERE - "SSL]" $ __INCLUDE = __TOP + "INCLUDE.OPENSSL]" $! diff --git a/test/maketests.com b/test/maketests.com index 135e0bfeb9..3d1b208ddc 100644 --- a/test/maketests.com +++ b/test/maketests.com @@ -1050,6 +1050,7 @@ $! $! Save directory information $! $ __HERE = F$PARSE(F$PARSE("A.;",F$ENVIRONMENT("PROCEDURE"))-"A.;","[]A.;") - "A.;" +$ __HERE = F$EDIT(__HERE,"UPCASE") $ __TOP = __HERE - "TEST]" $ __INCLUDE = __TOP + "INCLUDE.OPENSSL]" $! -- 2.25.1