RREE / build-avr-ada-toolchain

Scripts for Building the AVR-Ada Toolchain
MIT License
7 stars 6 forks source link

Improved sudo usage and security #3

Closed Knaldgas closed 5 years ago

Knaldgas commented 5 years ago

Removed sudo invocations of make installs. Instead, the script checks whether the user has write access to $PREFIX parent directory and issues a warning if the user has not. Idea is to prevent people running the script in a state where it will likely fail.