mirror of
https://github.com/kichikuou/xsystem35-sdl2.git
synced 2026-09-24 23:48:04 +03:00
18 lines
255 B
Diff
Executable File
18 lines
255 B
Diff
Executable File
#!/bin/sh
|
|
|
|
if [ "$1" = "" ]; then
|
|
echo "pascha.diff targetfile"
|
|
exit 1
|
|
fi
|
|
|
|
if [ ! -f "$1" ]; then
|
|
echo "$1 not found"
|
|
exit 1
|
|
fi
|
|
cp $1 $1.org
|
|
chmod u+w $1
|
|
echo 'G' | dd of=$1 ibs=1 obs=1 count=1 seek=7272 conv=notrunc
|
|
chmod u-w $1
|
|
echo "done!"
|
|
exit 0
|