fix modify.sh sourcing from localdir instead of SCRIPT_DIR

Signed-off-by: kxtzownsu <kxtzownsu@gmail.com>
This commit is contained in:
kxtzownsu 2025-03-21 02:08:03 -04:00
parent ef39d9d0c4
commit f51782d316

View File

@ -81,7 +81,7 @@ echo "Mounting at $MOUNT_DIR"
enable_rw_mount "$LOOP_DEV"p1 enable_rw_mount "$LOOP_DEV"p1
mount -o rw "$LOOP_DEV"p1 "$MOUNT_DIR" mount -o rw "$LOOP_DEV"p1 "$MOUNT_DIR"
mkdir -p "$MOUNT_DIR/usr/share/packeddata" mkdir -p "$MOUNT_DIR/usr/share/packeddata"
cp -rvf "./out/." "$MOUNT_DIR/usr/share/packeddata" cp -rvf "$SCRIPT_DIR/out/." "$MOUNT_DIR/usr/share/packeddata"
mkdir -p "$MOUNT_DIR"/usr/bin mkdir -p "$MOUNT_DIR"/usr/bin
umount "$MOUNT_DIR" umount "$MOUNT_DIR"
enable_rw_mount "$LOOP_DEV"p3 enable_rw_mount "$LOOP_DEV"p3