setup-ngxblocker: fix sed error in Travis

fixes https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker/pull/45
This commit is contained in:
Stuart Cardall 2017-05-02 17:22:00 +00:00
parent 8dae1ebe34
commit 5c876024de
No known key found for this signature in database
GPG key ID: AEB857F1C891D0C6

View file

@ -168,7 +168,7 @@ find_includes() {
local start=$(find_line $file $start_range $start_first_last)
local end=$(find_line $file $end_range $end_first_last)
sed -n ${start},${end}p ${file} > $tmp
sed -n "$start,$end"p $file > $tmp
line=$(find_line $tmp $search $search_first_last)
rm -f $tmp