Merge pull request #16 from silvio/small-fixes

Small fixes
This commit is contained in:
Mikaël Bouillot 2017-06-27 10:26:37 +00:00 committed by GitHub
commit 9c6c447e84
5 changed files with 6 additions and 6 deletions

View file

@ -15,7 +15,7 @@ duplicating work and data. It has a straightforward data structure
Requirements
------------
* Python 3
* >= Python 3.5
* The Jinja2 and Pygments Python libraries
* Berkeley DB (and its Python binding)
* Exuberant Ctags

2
lib.py
View file

@ -1,4 +1,4 @@
#!/usr/bin/python3
#!/usr/bin/env python3
# This file is part of Elixir, a source code cross-referencer.
#

View file

@ -1,4 +1,4 @@
#!/usr/bin/python3
#!/usr/bin/env python3
# This file is part of Elixir, a source code cross-referencer.
#

View file

@ -136,7 +136,7 @@ case $cmd in
v=`echo $1 | version_rev`
git ls-tree -r "$v" |
sed -r "s/^\S* blob (\S*)\t(([^/]*\/)*(.*))$/$format/"
sed -r "s/^\S* blob (\S*)\t(([^/]*\/)*(.*))$/$format/; /^\S* commit .*$/d"
;;
tokenize-file)

View file

@ -1,4 +1,4 @@
#!/usr/bin/python3
#!/usr/bin/env python3
# This file is part of Elixir, a source code cross-referencer.
#
@ -38,7 +38,7 @@ def updateBlobIDs (tag):
idx = db.vars.get ('numBlobs')
else:
idx = 0
blobs = scriptLines ('list-blobs', '-f', tag)
newBlobs = []