Revert "Fix Travis (02)"

This reverts commit 1d26ce8a5d.
This commit is contained in:
Mitchell Krog 2017-06-28 16:26:30 +02:00
parent aa7baae935
commit aa1d1ecfa2

View file

@ -124,8 +124,8 @@ _start9="# START NIBBLER ### DO NOT EDIT THIS LINE AT ALL ###"
_end9="# END NIBBLER ### DO NOT EDIT THIS LINE AT ALL ###" _end9="# END NIBBLER ### DO NOT EDIT THIS LINE AT ALL ###"
_start10="# START CLOUDFLARE IP RANGES ### DO NOT EDIT THIS LINE AT ALL ###" _start10="# START CLOUDFLARE IP RANGES ### DO NOT EDIT THIS LINE AT ALL ###"
_end10="# END CLOUDFLARE IP RANGES ### DO NOT EDIT THIS LINE AT ALL ###" _end10="# END CLOUDFLARE IP RANGES ### DO NOT EDIT THIS LINE AT ALL ###"
_versionmarkerstart="### VERSION INFORMATION #" _startmarker="### VERSION INFORMATION #"
_versionmarkerend="### VERSION INFORMATION ##" _endmarker="### VERSION INFORMATION ##"
# ********************************** # **********************************
# SET ALLOW OR DENY ACTION VARIABLES # SET ALLOW OR DENY ACTION VARIABLES
@ -407,9 +407,9 @@ rm $_inputdb10
LASTUPDATEIFS=$IFS LASTUPDATEIFS=$IFS
IFS=$'\n' IFS=$'\n'
now="$(date)" now="$(date)"
echo $_versionmarkerstart >> $_tmpnginxA echo $_startmarker >> $_tmpnginxA
printf "###################################################\n### Version: "$MY_GIT_TAG"\n### Updated: "$now"\n### Bad Referrer Count: "$BAD_REFERRERS"\n### Bad Bot Count: "$BAD_BOTS"\n###################################################\n" >> $_tmpnginxA printf "###################################################\n### Version: "$MY_GIT_TAG"\n### Updated: "$now"\n### Bad Referrer Count: "$BAD_REFERRERS"\n### Bad Bot Count: "$BAD_BOTS"\n###################################################\n" >> $_tmpnginxA
echo $_versionmarkerend >> $_tmpnginxA echo $_endmarker >> $_tmpnginxA
IFS=$LASTUPDATEIFS IFS=$LASTUPDATEIFS
mv $_tmpnginxA $_inputdbA mv $_tmpnginxA $_inputdbA
ed -s $_inputdbA<<\IN ed -s $_inputdbA<<\IN