Extend $PATH in common.sh with system $PATH.

This lets junest work on non-FHS systems such as GNU Guix.
This commit is contained in:
Spencer Skylar Chan 2022-10-30 04:14:51 +00:00
parent f0e82bf8bf
commit e5f14c3735

View file

@ -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.