Closed fdiblen closed 4 years ago
Or use the expression without assignment to a variable, e.g. like here https://github.com/entangled/entangled/blame/d1bce3932d9ced4e40f104bd723f42e32890af12/README.md#L113
Not sure if we should also add the user's group, I'm guessing yes.
We could also use https://pre-commit.com/ as a wrapper for a docker command.
fixed by #68
UID
variable in .githooks/pre-commit is a readonly variable on my system.Renaming this variable ill solve the issue. Related Stackoverflow thread: https://stackoverflow.com/questions/13404665/use-of-read-only-variables-in-shell-scripts
Linux Distro: Arch Linux Bash version: GNU bash, version 5.0.17(1)-release (x86_64-pc-linux-gnu)