From 2117043e31a51b99a0eace2655b002b309cb7578 Mon Sep 17 00:00:00 2001 From: ml Date: Thu, 2 Jul 2026 14:27:55 +0200 Subject: [PATCH] More robust nibtools build --- .../app/src/main/jni/build_nibtools.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/SchwertUndMagieOnPebbleCompanionApp/app/src/main/jni/build_nibtools.sh b/SchwertUndMagieOnPebbleCompanionApp/app/src/main/jni/build_nibtools.sh index a5eb82e..58f9a72 100644 --- a/SchwertUndMagieOnPebbleCompanionApp/app/src/main/jni/build_nibtools.sh +++ b/SchwertUndMagieOnPebbleCompanionApp/app/src/main/jni/build_nibtools.sh @@ -42,7 +42,11 @@ fi if [ ! -d "${SRC}" ]; then echo "Unpacking nibtools..." tar -xzf "${TARBALL}" -C "${SCRIPT_DIR}" - mv "${SCRIPT_DIR}"/nibtools-*/ "${SRC}" + # Hardcoded, not a glob: on a non-ephemeral runner workspace, a + # nibtools-*/ glob can also match SRC itself once it exists, or other + # stray nibtools-prefixed leftovers, and mv then fails with "target is + # not a directory" (multiple sources, no existing target dir). + mv "${SCRIPT_DIR}/nibtools-91344e0ee3" "${SRC}" echo "Unpacked to ${SRC}" fi