From d817f0fbc81a0ca374d940d2f1dea82b526c02c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Moise=CC=81s=20Guimara=CC=83es?= Date: Mon, 4 Jan 2016 09:27:58 -0300 Subject: [PATCH] fixes test scripts to avoid bash-isms --- certs/ocsp/ocspd0.sh | 2 +- certs/ocsp/ocspd1.sh | 2 +- certs/ocsp/ocspd2.sh | 2 +- certs/ocsp/ocspd3.sh | 2 +- certs/ocsp/renewcerts.sh | 2 ++ 5 files changed, 6 insertions(+), 4 deletions(-) diff --git a/certs/ocsp/ocspd0.sh b/certs/ocsp/ocspd0.sh index e0f978773..d0aa0b953 100755 --- a/certs/ocsp/ocspd0.sh +++ b/certs/ocsp/ocspd0.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh openssl ocsp -port 22220 -nmin 1 \ -index certs/ocsp/index0.txt \ diff --git a/certs/ocsp/ocspd1.sh b/certs/ocsp/ocspd1.sh index da6babcaa..91448c004 100755 --- a/certs/ocsp/ocspd1.sh +++ b/certs/ocsp/ocspd1.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh openssl ocsp -port 22221 -nmin 1 \ -index certs/ocsp/index1.txt \ diff --git a/certs/ocsp/ocspd2.sh b/certs/ocsp/ocspd2.sh index 3539f38fd..a7748b337 100755 --- a/certs/ocsp/ocspd2.sh +++ b/certs/ocsp/ocspd2.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh openssl ocsp -port 22222 -nmin 1 \ -index certs/ocsp/index2.txt \ diff --git a/certs/ocsp/ocspd3.sh b/certs/ocsp/ocspd3.sh index 35130c253..3e53ceb71 100755 --- a/certs/ocsp/ocspd3.sh +++ b/certs/ocsp/ocspd3.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh openssl ocsp -port 22223 -nmin 1 \ -index certs/ocsp/index3.txt \ diff --git a/certs/ocsp/renewcerts.sh b/certs/ocsp/renewcerts.sh index 4eb552b42..cdbabdf81 100755 --- a/certs/ocsp/renewcerts.sh +++ b/certs/ocsp/renewcerts.sh @@ -1,3 +1,5 @@ +#!/bin/sh + openssl req \ -new \ -key root-ca-key.pem \