From 778581c48087450ec0efbb7ade16f2eefe501f3f Mon Sep 17 00:00:00 2001 From: mathieui Date: Mon, 15 Dec 2014 16:24:21 +0100 Subject: Check the py3k version AFTER loading the virtualenv --- launch.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'launch.sh') diff --git a/launch.sh b/launch.sh index 34fea7b4..ab2829a1 100755 --- a/launch.sh +++ b/launch.sh @@ -1,5 +1,4 @@ #!/bin/sh -python3 -c 'import sys;(print("Python 3.4 or newer is required") and exit(1)) if sys.version_info < (3, 4) else exit(0)' || exit 1 poezio_dir=$(dirname "$0") VENV="poezio-venv" @@ -22,5 +21,6 @@ else PYTHON3=python3 fi +$PYTHON3 -c 'import sys;(print("Python 3.4 or newer is required") and exit(1)) if sys.version_info < (3, 4) else exit(0)' || exit 1 exec "$PYTHON3" "$poezio_dir/src/poezio.py" -v "$args" "$@" -- cgit v1.2.3