@@ -0,0 +1,27 @@
1+From 6f544a5bd43446859754cb80e012af933b843db9 Mon Sep 17 00:00:00 2001
2+From: Florian Klink <flokli@flokli.de>
3+Date: Wed, 3 Jun 2020 22:05:34 +0200
4+Subject: [PATCH] clipboard: make which substitutable
5+
6+This is used to detect the presence of xclip and other clipboard
7+handling tools.
8+---
9+ bpython/clipboard.py | 2 +-
10+ 1 file changed, 1 insertion(+), 1 deletion(-)
11+
12+diff --git a/bpython/clipboard.py b/bpython/clipboard.py
13+index aee429b..f346429 100644
14+--- a/bpython/clipboard.py
15++++ b/bpython/clipboard.py
16+@@ -58,7 +58,7 @@ class OSXClipboard(object):
17+
18+ def command_exists(command):
19+ process = subprocess.Popen(
20+- ["which", command], stderr=subprocess.STDOUT, stdout=subprocess.PIPE
21++ ["@which@", command], stderr=subprocess.STDOUT, stdout=subprocess.PIPE
22+ )
23+ process.communicate()
24+
25+--
26+2.26.2
27+