poezio/launch.sh

12 lines
173 B
Bash
Executable file

#!/usr/bin/env 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" "$@"