From 7bfeb4f3a2fe939f186d841074d8c93d5a8ab938 Mon Sep 17 00:00:00 2001 From: Jeffrey Walton Date: Sun, 1 Jul 2018 21:38:47 -0400 Subject: [PATCH] Add recipe to call dos2unix if available --- TestScripts/cryptest-autotools.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/TestScripts/cryptest-autotools.sh b/TestScripts/cryptest-autotools.sh index b9ffdf8c..f4482842 100755 --- a/TestScripts/cryptest-autotools.sh +++ b/TestScripts/cryptest-autotools.sh @@ -16,6 +16,10 @@ if ! wget --no-check-certificate https://raw.githubusercontent.com/noloader/cryp [[ "$0" = "${BASH_SOURCE[0]}" ]] && exit 1 || return 1 fi +if [[ ! -z $(command -v dos2unix) ]]; then + dos2unix Makefile.am configure.ac libcryptopp.pc.in +fi + if ! autoreconf --force --install --warnings=all; then echo "autoreconf failed" [[ "$0" = "${BASH_SOURCE[0]}" ]] && exit 1 || return 1