use portable mktemp syntax in scripts/ocsp-stapling_tls13multi.test for macOS compatibility
This commit is contained in:
@@ -77,7 +77,8 @@ PARENTDIR="$PWD"
|
||||
#WORKSPACE="${PARENTDIR}/workspace.pid$$"
|
||||
#mkdir "${WORKSPACE}" || exit $?
|
||||
|
||||
WORKSPACE="$(mktemp -d -p ${PARENTDIR})"
|
||||
# Use portable mktemp syntax that works on both Linux and macOS
|
||||
WORKSPACE="$(mktemp -d ${PARENTDIR}/wolfssl-ocsp-test.XXXXXX)"
|
||||
|
||||
cp -pR ${SCRIPT_DIR}/../certs "${WORKSPACE}"/ || exit $?
|
||||
cd "$WORKSPACE" || exit $?
|
||||
|
||||
Reference in New Issue
Block a user