From e5f14c373562519923ea571d21b60e686535d24d Mon Sep 17 00:00:00 2001 From: Spencer Skylar Chan <54919210+schance995@users.noreply.github.com> Date: Sun, 30 Oct 2022 04:14:51 +0000 Subject: [PATCH] Extend $PATH in common.sh with system $PATH. This lets junest work on non-FHS systems such as GNU Guix. --- lib/core/common.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/core/common.sh b/lib/core/common.sh index 0362d69..4b2e7ff 100644 --- a/lib/core/common.sh +++ b/lib/core/common.sh @@ -27,7 +27,7 @@ JUNEST_TEMPDIR=${JUNEST_TEMPDIR:-/tmp} # The update of the variable PATH ensures that the executables are # found on different locations -PATH=/usr/bin:/bin:/usr/local/bin:/usr/sbin:/sbin:${HOME}/.local/bin +PATH=/usr/bin:/bin:/usr/local/bin:/usr/sbin:/sbin:${HOME}/.local/bin:"$PATH" # The executable uname is essential in order to get the architecture # of the host system, so a fallback mechanism cannot be used for it.