#!/bin/sh set -e ROOT_DIR=$(CDPATH= cd -- "$(dirname -- "$0")" && pwd) PAYLOAD_DIR="$ROOT_DIR/build/payload" TARGET="$PAYLOAD_DIR/Hiperiso2Disk.sh" if [ ! -x "$TARGET" ] && [ ! -f "$TARGET" ]; then printf '%s\n' "Missing $TARGET. Build first with: ./scripts/build_all.sh" >&2 exit 1 fi exec "$TARGET" "$@"