mirror of
https://github.com/bebbo/amiga-gcc.git
synced 2025-12-08 22:38:25 +00:00
Add ability to patch files during SDK installation
This commit is contained in:
@ -99,6 +99,11 @@ case $1 in
|
|||||||
rm -rf $3/m68k-amigaos/${a[2]}
|
rm -rf $3/m68k-amigaos/${a[2]}
|
||||||
ln -s $3/m68k-amigaos/${a[1]} $3/m68k-amigaos/${a[2]}
|
ln -s $3/m68k-amigaos/${a[1]} $3/m68k-amigaos/${a[2]}
|
||||||
;;
|
;;
|
||||||
|
patch)
|
||||||
|
patch=patches/$2/${a[1]}
|
||||||
|
echo applying patch $patch
|
||||||
|
patch -N -p0 -r - -d build/$2 < $patch
|
||||||
|
;;
|
||||||
*)
|
*)
|
||||||
if [ "$line" != "" ]; then
|
if [ "$line" != "" ]; then
|
||||||
if [ "${a[1]}" == "=" ]; then
|
if [ "${a[1]}" == "=" ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user