Ralph Sennhauser
abdda50892
This updates shell scripts to use a consistent style that can be enforced via pre-commit hook. As for choosing tabs over spaces, some arguments are: - tabs can help people with visual impairment - tabs allow for indenting heredocs in bash - tabs are the default for the tool shfmt Signed-off-by: Ralph Sennhauser <ralph.sennhauser@gmail.com>
10 lines
172 B
Bash
Executable File
10 lines
172 B
Bash
Executable File
#!/bin/sh
|
|
|
|
pyrogenesis=$(which pyrogenesis 2>/dev/null)
|
|
if [ -x "$pyrogenesis" ]; then
|
|
"$pyrogenesis" "$@"
|
|
else
|
|
echo "Error: pyrogenesis not found in ($PATH)"
|
|
exit 1
|
|
fi
|