summaryrefslogtreecommitdiff
path: root/app-admin/entr/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-02-12 09:56:54 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-02-12 09:56:54 +0000
commitebc282ef4dfa408accac685565b8ee5f6faec119 (patch)
treec0a4f713228cda0ab17eed46f0bb7ca8cb8be2f6 /app-admin/entr/files
parent6c8694a707151d59555b0e4e48235f085ce166c3 (diff)
gentoo auto-resync : 12:02:2023 - 09:56:54
Diffstat (limited to 'app-admin/entr/files')
-rw-r--r--app-admin/entr/files/entr-5.3-no-which.patch16
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
+--