From a6f840e7baa679420031fa42006479a691d3ec7a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maxime=20=E2=80=9Cpep=E2=80=9D=20Buquet?= Date: Sun, 19 Aug 2018 23:02:39 +0100 Subject: [PATCH 1/2] Only check if `.git` exists, not more MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit `git worktree` has `.git` as a file, not a directory. Signed-off-by: Maxime “pep” Buquet --- launch.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/launch.sh b/launch.sh index c88972f0..44d9261f 100755 --- a/launch.sh +++ b/launch.sh @@ -5,7 +5,7 @@ then POEZIO_VENV="poezio-venv" fi -if [ -d .git ] +if [ -e .git ] then args=$(git show --format='%h %ci' | head -n1) else From 0ec525005644d6cdd8b6117e1a4e581a1655cbcb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maxime=20=E2=80=9Cpep=E2=80=9D=20Buquet?= Date: Sun, 19 Aug 2018 23:07:07 +0100 Subject: [PATCH 2/2] Update version string in launch script MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Maxime “pep” Buquet --- launch.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/launch.sh b/launch.sh index 44d9261f..b049a7af 100755 --- a/launch.sh +++ b/launch.sh @@ -9,7 +9,7 @@ if [ -e .git ] then args=$(git show --format='%h %ci' | head -n1) else - args="0.9-dev" + args="0.12-dev" fi if [ -e "$POEZIO_VENV" ]