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