jwt27 / build-gcc

Shell scripts to build various gcc cross-compilers (primarily djgpp)
https://jw.h4ck.me/debian/
GNU General Public License v3.0
41 stars 9 forks source link

build-djgpp.sh: fix some permission problems #4

Closed stsp closed 5 years ago

stsp commented 5 years ago

This fixes the following:

rm: cannot remove '/usr/local/cross/i586-pc-msdosdjgpp/etc/gcc-8.2.0-installed': Permission denied touch: cannot touch '/usr/local/cross/i586-pc-msdosdjgpp/etc/gcc-8.2.0-installed': Permission denied

jwt27 commented 5 years ago

Thanks. The same problem will likely occur with binutils/gdb/newlib. If you can fix those too, I'll merge it.

stsp commented 5 years ago

The same problem will likely occur with binutils/gdb/newlib.

I don't see any forgotten ${SUDO} there. So I can only add -f to rm, which is now done.

jwt27 commented 5 years ago

Nice, thank you!