Browse files

Fix python paths in scripts

In git-review, use /usr/bin/python instead of /usr/local/bin/python.
This will be better for most systems.  This only matters when running
git-review out of the source tree, as updates this path during
installation.  I haven't used "/usr/bin/env python" for now, since then
I can't pass in the -tt argument.  However, we could still switch to
that later if there is a compelling reason to.

In, invoke python as "/usr/bin/env python", to find python from
the user's $PATH. will modify the installed git-review to
invoke python from the same path found by
  • Loading branch information...
1 parent ecd00d3 commit 406e897c3b943bd54421ea895bf4a3a218e56a98 Adam Simpkins committed Feb 5, 2010
Showing with 2 additions and 2 deletions.
  1. +1 −1
  2. +1 −1 src/git-review
@@ -1,4 +1,4 @@
-#!/usr/bin/python -tt
+#!/usr/bin/env python
# Copyright 2010 Facebook, Inc.
@@ -1,4 +1,4 @@
-#!/usr/local/bin/python -tt
+#!/usr/bin/python -tt
# Copyright 2009-2010 Facebook, Inc.

0 comments on commit 406e897

Please sign in to comment.