Fix travis regex
authorChocobozzz <me@florianbigard.com>
Tue, 21 Jan 2020 16:02:01 +0000 (17:02 +0100)
committerChocobozzz <me@florianbigard.com>
Tue, 21 Jan 2020 16:02:01 +0000 (17:02 +0100)
scripts/ci.sh

index 7b5c3f2bbdca15c404859d7bb7f3ca1313223eb9..9ff640c8e7ff35e9b9781aa27567491bad4bda73 100755 (executable)
@@ -9,7 +9,7 @@ fi
 
 killall -q peertube || true
 
-perl -0777 -i  -pe 's#(proxy:\n\s+enabled: false\n\s+)url: ""#$1url: "'"$PROXY_URL"'"#' config/test.yaml
+perl -0777 -i  -pe 's#proxy:(\n\s+)enabled: false\n\s+url: ""#proxy:$1enabled: true$1url: "'"$PROXY_URL"'"#' config/test.yaml
 
 if [ "$1" = "misc" ]; then
     npm run build -- --light-fr