mirror of https://github.com/bebbo/amiga-gcc.git
Add ability to patch files during SDK installation
This commit is contained in:
parent
fe2f1f58c0
commit
6e4cc337a7
|
@ -99,6 +99,11 @@ case $1 in
|
|||
rm -rf $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 [ "${a[1]}" == "=" ]; then
|
||||
|
|
Loading…
Reference in New Issue