From: Brian Warner <warner@allmydata.com>
Date: Fri, 27 Apr 2007 02:00:48 +0000 (-0700)
Subject: pyflakes: do not assume that pyflakes lives in /usr/local, just assume that it is... 
X-Git-Tag: allmydata-tahoe_v0.1.1-1-UNSTABLE~14
X-Git-Url: https://git.rkrishnan.org/%5B/%5D%20/uri/%22file:/status?a=commitdiff_plain;h=3bd72392535031b401774f3c993c9e51ac9349cb;p=tahoe-lafs%2Ftahoe-lafs.git

pyflakes: do not assume that pyflakes lives in /usr/local, just assume that it is on the PATH
---

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: "