utils: Adjust 'wrap-program'.
authorNikita Karetnikov <nikita@karetnikov.org>
Sun, 28 Apr 2013 16:08:23 +0000 (16:08 +0000)
committerLudovic Courtès <ludo@gnu.org>
Tue, 30 Apr 2013 14:58:59 +0000 (16:58 +0200)
commit01155b1808b17f0a4f54388261ab0c6f5fee2f1b
tree89d9d1065a698f57ba9e02ec00e759cb7f414542
parent867df0eeb61b029e33e3298c91890083f0d6a17a
utils: Adjust 'wrap-program'.

* guix/build/utils.scm (wrap-program): Fix computation of PROG-REAL and
  PROG-TMP when PROG is an absolute file name.  Add "$@" in the
  generated script, and quote PROG-REAL.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
guix/build/utils.scm