@@ -42,7 +42,11 @@ fi
|
|||||||
if [ ! -d "${SRC}" ]; then
|
if [ ! -d "${SRC}" ]; then
|
||||||
echo "Unpacking nibtools..."
|
echo "Unpacking nibtools..."
|
||||||
tar -xzf "${TARBALL}" -C "${SCRIPT_DIR}"
|
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}"
|
echo "Unpacked to ${SRC}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user