From 096b442988d9c1e643fc79d1f3ca739d79d3c573 Mon Sep 17 00:00:00 2001 From: TheBrokenRail Date: Wed, 3 Feb 2021 12:28:44 -0500 Subject: [PATCH] Test --- scripts/package.sh | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/scripts/package.sh b/scripts/package.sh index 63ab41f5..20379026 100755 --- a/scripts/package.sh +++ b/scripts/package.sh @@ -65,6 +65,11 @@ rm -rf debian/tmp # Export Libraries mkdir -p out/lib +# Test +cd out/deb +ln -s minecraft-pi-reborn-native*.deb test.deb +cd ../../ + ## Extract libreborn # Copy Headers @@ -73,6 +78,6 @@ cp -r libreborn/include out/lib/include # Copy Shared Library IMG_ID="$(docker create thebrokenrail/minecraft-pi-reborn:client)" docker cp "${IMG_ID}:/app/minecraft-pi/mods/libreborn.so" ./out/lib || : -RET="$?" +RET=$? docker rm -v "${IMG_ID}" -exit "${RET}" +exit ${RET}