| Index: git-cl-upload-hook
|
| ===================================================================
|
| --- git-cl-upload-hook (revision 60321)
|
| +++ git-cl-upload-hook (working copy)
|
| @@ -21,7 +21,7 @@
|
| if not depot_tools_path:
|
| # Grab a `which gclient', which gives first match
|
| # `which' also uses PATH, but is not restricted to specific directory name
|
| - path = Popen(["which", "gclient"], stdout=PIPE).communicate()[0]
|
| + path = Popen(["which", "gclient"], stdout=PIPE).communicate()[0].strip()
|
| if path:
|
| depot_tools_path = path.replace("/gclient","")
|
|
|
|
|