utils: Add a `path' argument to `patch-shebang'.
authorLudovic Courtès <ludo@gnu.org>
Sun, 19 Aug 2012 19:50:03 +0000 (21:50 +0200)
committerLudovic Courtès <ludo@gnu.org>
Sun, 19 Aug 2012 21:04:03 +0000 (23:04 +0200)
commit525a59d6d3278f891e19c85cdad96175cffcdef7
tree6a40c3765f487d91a481f57e83638af813ee80ef
parent54ba617e9ff07482e81d9e265caeb786cf8cefeb
utils: Add a `path' argument to `patch-shebang'.

* guix/build/utils.scm (patch-shebang): Add an optional `path'
  parameter.  Change SHEBANG-RX to match the whole interpreter file
  name.  Don't patch when BIN and CMD are the same.  Add docstring.
guix/build/utils.scm