From 3bd72392535031b401774f3c993c9e51ac9349cb Mon Sep 17 00:00:00 2001
From: Brian Warner <warner@allmydata.com>
Date: Thu, 26 Apr 2007 19:00:48 -0700
Subject: [PATCH] pyflakes: do not assume that pyflakes lives in /usr/local,
 just assume that it is on the PATH

---
 GNUmakefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/GNUmakefile b/GNUmakefile
index 0150e142..43cd0cfd 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -113,7 +113,7 @@ endif
 	$(PP) $(PYTHON) misc/figleaf2el.py .figleaf $(INSTDIR)
 
 pyflakes:
-	$(PYTHON) -OOu /usr/local/bin/pyflakes src/allmydata
+	$(PYTHON) -OOu `which pyflakes` src/allmydata
 
 count-lines:
 	@echo -n "files: "
-- 
2.45.2