[Reproducible-builds] [dh-python] 25/183: add missing slash (i.e. fix comaring paths in shebangs)
Jérémy Bobbio
lunar at moszumanska.debian.org
Fri Sep 19 15:30:15 UTC 2014
This is an automated email from the git hooks/post-receive script.
lunar pushed a commit to branch pu/reproducible_builds
in repository dh-python.
commit 0d81890a4f17835ccdbeae5e5f160e0f55331e90
Author: Piotr Ożarowski <piotr at debian.org>
Date: Tue Jul 2 21:33:17 2013 +0200
add missing slash (i.e. fix comaring paths in shebangs)
---
dhpython/tools.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dhpython/tools.py b/dhpython/tools.py
index 1f8f92e..d973dca 100644
--- a/dhpython/tools.py
+++ b/dhpython/tools.py
@@ -93,7 +93,7 @@ def fix_shebang(fpath, replacement=None):
log.error('fix_shebang (%s): %s', fpath, err)
return None
- if not replacement and interpreter.path != '/usr/bin': # f.e. /usr/local/* or */bin/env
+ if not replacement and interpreter.path != '/usr/bin/': # f.e. /usr/local/* or */bin/env
interpreter.path = '/usr/bin'
replacement = repr(interpreter)
if replacement:
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/dh-python.git
More information about the Reproducible-builds
mailing list