- Usage of
#!/bin/bash instead of #!/usr/bin/env bash
1.1. why are the script using bash in first place, instead of pure /bin/sh? it is bit more work but keeps the script portable.
lsb_release is not portable to all Linux based systems, e.g. Alpine Linux.
- Usage of
sudo, if I am the root and there is no other user (e.g. typical docker environment), then the fails: ./configure: line 1729: sudo: not found
Haven't reached too far when trying to build against musl-libc based Alpine Linux.
#!/bin/bashinstead of#!/usr/bin/env bash1.1. why are the script using
bashin first place, instead of pure/bin/sh? it is bit more work but keeps the script portable.lsb_releaseis not portable to all Linux based systems, e.g. Alpine Linux.sudo, if I am the root and there is no other user (e.g. typical docker environment), then the fails:./configure: line 1729: sudo: not foundHaven't reached too far when trying to build against musl-libc based Alpine Linux.