From 3364914d3eedc75532f854f3b92ec9f2a3257c8c Mon Sep 17 00:00:00 2001 From: Your Name Date: Tue, 3 Jun 2025 19:24:29 +1200 Subject: [PATCH] 'Generic Commit' --- publish.sh | 18 +++++++++--------- test.sh | 5 +---- 2 files changed, 10 insertions(+), 13 deletions(-) diff --git a/publish.sh b/publish.sh index 69f31c5..3ca2610 100755 --- a/publish.sh +++ b/publish.sh @@ -2,17 +2,17 @@ set -euo pipefail -SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )" +#SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )" -# download the sos binary -SOS="${SCRIPT_DIR}/temp/sos" -mkdir -p "${SCRIPT_DIR}/temp" -trap 'rm -rf "${SCRIPT_DIR}/temp"' EXIT +# # download the sos binary +# SOS="${SCRIPT_DIR}/temp/sos" +# mkdir -p "${SCRIPT_DIR}/temp" +# trap 'rm -rf "${SCRIPT_DIR}/temp"' EXIT -curl -L -o "${SOS}" https://getbin.xyz/sos -chmod +x "${SOS}" +# curl -L -o "${SOS}" https://getbin.xyz/sos +# chmod +x "${SOS}" -# upload the dropshell-build script -"${SOS}" upload "getbin.xyz" "${SCRIPT_DIR}/Dockerfile.dropshell-build" "Dockerfile.dropshell-build:latest" +# # upload the dropshell-build script +# "${SOS}" upload "getbin.xyz" "${SCRIPT_DIR}/Dockerfile.dropshell-build" "Dockerfile.dropshell-build:latest" echo "Done" \ No newline at end of file diff --git a/test.sh b/test.sh index 637bdf9..4e38360 100755 --- a/test.sh +++ b/test.sh @@ -8,8 +8,5 @@ echo "Testing" [ -f "${SCRIPT_DIR}/output/ipdemo" ] || { echo "ipdemo binary not found"; exit 1; } -"${SCRIPT_DIR}/output/ipdemo" - - - +"${SCRIPT_DIR}/output/ipdemo" || echo "Success!"