From 663d08d8136ce7b890de9534e58601834040336a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20De=20Keersmaeker?= <francois.dekeersmaeker@uclouvain.be> Date: Mon, 21 Oct 2024 12:02:05 +0000 Subject: [PATCH] Updated build script --- build.sh | 7 ++++++- src/parsers | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/build.sh b/build.sh index ebb2d1b..d703f80 100755 --- a/build.sh +++ b/build.sh @@ -43,7 +43,12 @@ then fi # Clean directory -sudo rm -rf build bin +SUDO_PREFIX="" +if [[ $(whoami) != "root" ]] +then + SUDO_PREFIX="sudo" +fi +$SUDO_PREFIX rm -rf build bin ## Set environmental variables ENV_VARS="" diff --git a/src/parsers b/src/parsers index f9f2021..37c4d4c 160000 --- a/src/parsers +++ b/src/parsers @@ -1 +1 @@ -Subproject commit f9f2021d419c88e7f324b470d9282b085a9c4fcf +Subproject commit 37c4d4c27de473c32b16e6bf38da2e9fa6fc5433 -- GitLab