poezio/launch.sh

11 lines
221 B
Bash
Raw Normal View History

2012-10-05 14:58:09 +00:00
#!/bin/sh
2010-02-01 20:28:33 +00:00
if [ -d "$(dirname $0)/.git" ]
2014-02-22 13:27:31 +00:00
then
args=$(git --git-dir="$(dirname $0)/.git" show --format='%h %ci' | head -n1)
2014-02-22 13:27:31 +00:00
else
args="0.8.3-dev"
fi
exec python3 -OO "$(dirname $0)/src/poezio.py" -v "$args" "$@"
2011-02-26 13:16:19 +00:00