1 2 3 4 5 6 7 8 9 10 11 12
#!/bin/sh if [ -d "$PWD/.git" ] then args=$(git show --format='%h %ci' | head -n1) else args="0.8-dev" fi exec python3 -OO src/poezio.py -v "$args" "$@"