From 7e1c48d552af1d741e39b7b96775d45a76403d15 Mon Sep 17 00:00:00 2001 From: Jeffrey Walton Date: Fri, 4 Mar 2016 22:05:07 -0500 Subject: [PATCH] Fixed Bash shebang for OpenBSD 5.7 and friends --- cryptest.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cryptest.sh b/cryptest.sh index af541f8f..ab6db60d 100755 --- a/cryptest.sh +++ b/cryptest.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # cryptest.sh - written and placed in public domain by Jeffrey Walton and Uri Blumenthal. # Copyright assigned to Crypto++ project. @@ -116,7 +116,7 @@ fi # Set to 0 if you don't have Intel multiarch HAVE_INTEL_MULTIARCH=0 if [ "$IS_DARWIN" -ne "0" ] && [ "$IS_X86" -ne "0" ]; then -$CXX -x c++ -DCRYPTOPP_ADHOC_MAIN -arch i386 -arch x86_64 -c adhoc.cpp.proto -o $TMP/adhoc > /dev/null 2>&1 +$CXX -x c++ -DCRYPTOPP_ADHOC_MAIN -arch i386 -arch x86_64 adhoc.cpp.proto -o $TMP/adhoc > /dev/null 2>&1 if [ "$?" -eq "0" ]; then HAVE_INTEL_MULTIARCH=1 fi