Fix Travis CI Build Errors (strange cat errors that did not exist before causing generation of globalblacklist.conf to fail)

This commit is contained in:
Mitchell Krog 2017-06-28 15:33:20 +02:00
parent 6b317c8ed7
commit 2d1e72c323
2 changed files with 9 additions and 10 deletions

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 ###"
_startmarker="### Version Information #" _startmarker="### VERSION INFORMATION #"
_endmarker="### Version Information ##" _endmarker="### VERSION INFORMATION ##"
# ********************************** # **********************************
# SET ALLOW OR DENY ACTION VARIABLES # SET ALLOW OR DENY ACTION VARIABLES
@ -414,13 +414,13 @@ echo $_endmarker >> $_tmpnginxA
IFS=$LASTUPDATEIFS IFS=$LASTUPDATEIFS
mv $_tmpnginxA $_inputdbA mv $_tmpnginxA $_inputdbA
ed -s $_inputdbA<<\IN ed -s $_inputdbA<<\IN
1,/### Version Information #/d 1,/### VERSION INFORMATION #/d
/### Version Information ##/,$d /### VERSION INFORMATION ##/,$d
,d ,d
.r /home/travis/build/mitchellkrogza/nginx-ultimate-bad-bot-blocker/travisCI/globalblacklist.template .r /home/travis/build/mitchellkrogza/nginx-ultimate-bad-bot-blocker/travisCI/globalblacklist.template
/### Version Information #/x /### VERSION INFORMATION #/x
.t. .t.
.,/### Version Information ##/-d .,/### VERSION INFORMATION ##/-d
#,p #,p
#,p used to print output replaced with w below to write #,p used to print output replaced with w below to write
w /home/travis/build/mitchellkrogza/nginx-ultimate-bad-bot-blocker/travisCI/globalblacklist.template w /home/travis/build/mitchellkrogza/nginx-ultimate-bad-bot-blocker/travisCI/globalblacklist.template

View file

@ -2,12 +2,11 @@
### THE ULTIMATE NGINX BAD BOT BLOCKER ### THE ULTIMATE NGINX BAD BOT BLOCKER
### ********************************** ### **********************************
### Version Information # ### VERSION INFORMATION #
### Versio I formatio #
################################################### ###################################################
### Version: V3.2017.06.624 ### Version: V3.2017.06.624
### Updated: Wed Ju### Versio I formatio ## ###################################################
### Version Information ## ### VERSION INFORMATION ##
### This file implements a checklist / blacklist for good user agents, bad user agents and ### This file implements a checklist / blacklist for good user agents, bad user agents and
### bad referrers. It also has whitelisting for your own IP's and known good IP Ranges ### bad referrers. It also has whitelisting for your own IP's and known good IP Ranges