1
0
mirror of https://github.com/lineageos4microg/docker-lineage-cicd synced 2024-11-09 10:09:56 +01:00

Minor fix

This commit is contained in:
Nicola Corna 2018-01-08 00:20:06 +01:00
parent cf65924949
commit 8ea3313409

@ -298,7 +298,7 @@ for branch in $BRANCH_NAME; do
if [ -f "$TMP_DIR/merged/prebuilts/sdk/tools/jack-admin" ]; then
"$TMP_DIR/merged/prebuilts/sdk/tools/jack-admin kill-server" > /dev/null 2>&1 || true
fi
lsof | grep "$TMP_DIR/merged" | awk '{ print $2 }' | xargs kill
lsof | grep "$TMP_DIR/merged" | awk '{ print $2 }' | xargs -r kill
while [ ! -z "$(lsof | grep $TMP_DIR/merged)" ]; do
sleep 1