Remove calls to format script

pull/696/head
Jeffrey Walton 2018-07-27 16:10:43 -04:00
parent a3efa68da7
commit f201bc9493
No known key found for this signature in database
GPG Key ID: B36AB348921B1838
1 changed files with 11 additions and 11 deletions

View File

@ -44,19 +44,19 @@ if ! wget --no-check-certificate https://raw.githubusercontent.com/noloader/cryp
fi
# Convert as necessary
if [[ ! -z $(command -v dos2unix) ]]; then
dos2unix Makefile.am configure.ac libcryptopp.pc.in
fi
#if [[ ! -z $(command -v dos2unix) ]]; then
# dos2unix Makefile.am configure.ac libcryptopp.pc.in
#fi
# Trim trailing whitespace
if [[ ! -z $(command -v "$SED") ]]; then
"$SED" -e's/[[:space:]]*$//' Makefile.am > Makefile.am.fixed
"$SED" -e's/[[:space:]]*$//' configure.ac > configure.ac.fixed
"$SED" -e's/[[:space:]]*$//' libcryptopp.pc.in > libcryptopp.pc.in.fixed
mv Makefile.am.fixed Makefile.am
mv configure.ac.fixed configure.ac
mv libcryptopp.pc.in.fixed libcryptopp.pc.in
fi
#if [[ ! -z $(command -v "$SED") ]]; then
# "$SED" -e's/[[:space:]]*$//' Makefile.am > Makefile.am.fixed
# "$SED" -e's/[[:space:]]*$//' configure.ac > configure.ac.fixed
# "$SED" -e's/[[:space:]]*$//' libcryptopp.pc.in > libcryptopp.pc.in.fixed
# mv Makefile.am.fixed Makefile.am
# mv configure.ac.fixed configure.ac
# mv libcryptopp.pc.in.fixed libcryptopp.pc.in
#fi
mkdir -p m4/