Skip to content

Commit 6a33b44

Browse files
committed
Remove existing compiler/libmgr parameters and append the right ones correctly
1 parent cd69b93 commit 6a33b44

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

scripts/install.sh

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -72,13 +72,10 @@ cd Symfony
7272
## For reference, here's a command to replace a substring in a file
7373
## cat kourades.sh | sed 's/kourades/skata/g' | tee skata.sh > /dev/null 2>&1
7474

75-
cp app/config/parameters.yml.dist app/config/parameters.yml
76-
7775
set +x
78-
cat app/config/parameters.yml | grep -iv "compiler:" > app/config/parameters.yml
76+
cat app/config/parameters.yml.dist | grep -iv "compiler:" | grep -iv "library:" > app/config/parameters.yml
7977
echo " compiler: '$COMPILER_URL'" >> app/config/parameters.yml
8078

81-
cat app/config/parameters.yml | grep -v "library:" > app/config/parameters.yml
8279
echo " library: '$LIBRARY_URL'" >> app/config/parameters.yml
8380
set -x
8481

0 commit comments

Comments
 (0)