mirror of
https://github.com/izzy2lost/sm64-izzys-port-android.git
synced 2026-07-05 15:19:31 -07:00
21 lines
274 B
Bash
Executable File
21 lines
274 B
Bash
Executable File
#!/bin/sh
|
|
#
|
|
# apply_patch.sh - Applies an enhancement patch
|
|
#
|
|
|
|
read -p "Do you wish to apply the patch '$1'? [Y/N] " response
|
|
case "$response" in
|
|
Y|y)
|
|
patch -p1 < "$1"
|
|
;;
|
|
N|n)
|
|
echo 'Quit'
|
|
exit 1
|
|
;;
|
|
*)
|
|
echo "Invalid response '$response'."
|
|
exit 1
|
|
;;
|
|
esac
|
|
|