From: Viktor Dukhovni Date: Fri, 10 Apr 2015 16:25:30 +0000 (-0400) Subject: Polish shell script to avoid needless complexity. X-Git-Tag: OpenSSL_1_1_0-pre1~1331 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=34b0a927ab5c9232bcf864d524a9bf2558411700;p=oweals%2Fopenssl.git Polish shell script to avoid needless complexity. No need for here documents, just use "yes" or Reviewed-by: Richard Levitte --- diff --git a/test/testca b/test/testca index d4d0159726..4bcb1fd576 100644 --- a/test/testca +++ b/test/testca @@ -1,5 +1,7 @@ #!/bin/sh +set -e + PERL="$1" if test "$OSTYPE" = msdosdjgpp; then @@ -9,35 +11,19 @@ else fi export PATH -SSLEAY_CONFIG="-config CAss.cnf" -export SSLEAY_CONFIG - -OPENSSL="`pwd`/../util/opensslwrap.sh" -export OPENSSL +export SSLEAY_CONFIG="-config CAss.cnf" +export OPENSSL="`pwd`/../util/opensslwrap.sh" /bin/rm -fr demoCA -# Could do '...CA.pl -newca <