mirror of
https://github.com/projectM-visualizer/projectm.git
synced 2025-12-01 12:11:20 +00:00
* autogen.sh: add more portable #!, provide -e key explicitly This is minority, NixOS and some other distros do not have this `sh`, paradoxically `/usr/bin/env` path is more widespread. Also documenting `set -e` * autogen.sh: upd output, make it portable `echo` has different behaviour, keys and possibilities on different systems. Example: ``` echo "Line1\nLine2" ``` Is probably parses `\n` in `macOS`, while Linux `echo` didn't, resulting in verbatim line. `printf` special character parsing is much more portable. Also removed the thanks "You followed directions! Great work!" to the person that just ran one command, which is a script that has one command inside and thanks the person for that.
10 lines
174 B
Bash
Executable File
10 lines
174 B
Bash
Executable File
#!/usr/bin/env sh
|
|
|
|
set -e # Drop-out from execution if error occurs
|
|
|
|
printf 'Running autoreconf...'
|
|
|
|
autoreconf --install
|
|
|
|
printf '\nSuccess!\nNow please run: ./configure\n'
|