Merge pull request #47 from itoffshore/alpine

setup-ngxblocker: fix sed error in Travis
This commit is contained in:
Mitchell Krog 2017-05-02 20:01:04 +02:00 committed by GitHub
commit 57413f534f

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