- add some error handling to `umount_pseudofs`
- disable the trap before running `error_out` to stop it running multiple times
- add `--one-file-system` to ensure that the `rm -rf` can't screw you
fixes#364
no need to create a second file just for the version when it can be set
in lib.sh
git -c safe.directory is needed to be able to run rev-parse as root
also contains some minor refactors to arg parsing etc
The build process only replaces @@MKLIVE_VERSION@@ with the correct
version string. This can also be done by simply sourcing a version.sh file.
This way it's simpler, avoids one unnecessary build step and people
won't accidentally run an old version of a script.