From b7c2678ef3b19f4e8381fbbf9e546a50654d3626 Mon Sep 17 00:00:00 2001 From: Daniil Gentili Date: Sat, 25 Dec 2021 13:13:24 +0100 Subject: [PATCH] Small fix --- tests/makephar.sh | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/tests/makephar.sh b/tests/makephar.sh index d8bfe884c..983c69ad1 100755 --- a/tests/makephar.sh +++ b/tests/makephar.sh @@ -22,7 +22,13 @@ echo "Latest tag: $TAG" # Clean up madelinePath=$PWD -sed 's/php-64bit/php/g' -i composer.json +k() +{ + while :; do pkill -f "MadelineProto worker $(pwd)/tests/../testing.madeline" || break && sleep 1; done +} + +k +rm -f madeline.phar testing.madeline* git commit -am 'Temp' git tag -d "90$TAG" || : @@ -98,11 +104,6 @@ n } } -k() -{ - while :; do pkill -f "MadelineProto worker $(pwd)/tests/../testing.madeline" || break && sleep 1; done -} - reset() { sed 's|phar.madelineproto.xyz|empty.madelineproto.xyz|g;s|MADELINE_RELEASE_URL|disable|g' tools/phar.php > madeline.php