diff options
Diffstat (limited to 'app-admin/entr/files')
-rw-r--r-- | app-admin/entr/files/entr-5.3-no-which.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/app-admin/entr/files/entr-5.3-no-which.patch b/app-admin/entr/files/entr-5.3-no-which.patch new file mode 100644 index 000000000000..fbc96fe697f4 --- /dev/null +++ b/app-admin/entr/files/entr-5.3-no-which.patch @@ -0,0 +1,16 @@ +Upstream-PR: https://github.com/eradman/entr/pull/108 + +diff --git a/system_test.sh b/system_test.sh +index 2687bb3..dbec661 100755 +--- a/system_test.sh ++++ b/system_test.sh +@@ -40,7 +40,7 @@ trap "$clear_tty; $clear_tmux; $clear_tmp" EXIT + + utils="file pgrep git vim tmux" + for util in $utils; do +- p=$(which $util 2> /dev/null) || { ++ p=$(command -pv $util) || { + echo "ERROR: could not locate the '$util' utility" >&2 + echo "System tests depend on the following: $utils" >&2 + exit 1 +-- |