From d4d45b1dc94ac8cbe26e625f71f6b6202ce1c908 Mon Sep 17 00:00:00 2001 From: Daniil Gentili Date: Wed, 25 Dec 2019 19:42:39 +0100 Subject: [PATCH] Fix build script --- tests/makephar.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/makephar.sh b/tests/makephar.sh index 52aadca4..e58adf6f 100755 --- a/tests/makephar.sh +++ b/tests/makephar.sh @@ -66,7 +66,7 @@ cd .. find phar5/vendor/amphp -type f -name '*.php' -exec sed "s/extension_loaded[(]'zlib'[)]/false/g" -i {} + - find phar5/vendor/danog/madelineproto -type f -name '*.php' -exec sed 's/: EncryptableSocket/: \\Amp\\Socket\\Socket/g' -i {} + find phar5/vendor/danog/madelineproto -type f -name '*.php' -exec sed 's/: EncryptableSocket/: \\Amp\\Socket\\Socket/g' -i {} + php -v @@ -79,7 +79,7 @@ cd .. [ -f $HOME/.config/composer/vendor/bin/php7to70 ] && php7to70=$HOME/.config/composer/vendor/bin/php7to70 $php7to70 convert --copy-all phar7 phar5 >/dev/null - find phar5/vendor/danog/madelineproto -type f -name '*.php' -exec sed 's/: EncryptableSocket/: \\Amp\\Socket\\Socket/g' -i {} + find phar5/vendor/danog/madelineproto -type f -name '*.php' -exec sed 's/: EncryptableSocket/: \\Amp\\Socket\\Socket/g' -i {} + php=70 } || {