Merge branch 'launch-script-version' into 'master'

Only check if `.git` exists, not more

See merge request poezio/poezio!9
This commit is contained in:
louiz’ 2018-08-20 19:42:33 +02:00
commit 7ce30f8f27

View file

@ -5,11 +5,11 @@ then
POEZIO_VENV="poezio-venv" POEZIO_VENV="poezio-venv"
fi fi
if [ -d .git ] if [ -e .git ]
then then
args=$(git show --format='%h %ci' | head -n1) args=$(git show --format='%h %ci' | head -n1)
else else
args="0.9-dev" args="0.12-dev"
fi fi
if [ -e "$POEZIO_VENV" ] if [ -e "$POEZIO_VENV" ]