]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
pyflakes: do not assume that pyflakes lives in /usr/local, just assume that it is...
authorBrian Warner <warner@allmydata.com>
Fri, 27 Apr 2007 02:00:48 +0000 (19:00 -0700)
committerBrian Warner <warner@allmydata.com>
Fri, 27 Apr 2007 02:00:48 +0000 (19:00 -0700)
GNUmakefile

index 0150e142f3fdc7c885153c11e2fa2fb9aace7745..43cd0cfd1ab33754652094eb3a7c2b3914cc0fd7 100644 (file)
@@ -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: "