build: Better reject systems where the shebang would be too long.

* tests/gexp.scm (shebang): Add "#!".
master
Ludovic Courtès 2014-07-25 00:26:29 +02:00
parent 417175096a
commit 6c9e7b2bea
1 changed files with 1 additions and 1 deletions

View File

@ -224,7 +224,7 @@
(return (string=? system (derivation-system drv))))))
(define shebang
(string-append (derivation->output-path guile-for-build)
(string-append "#!" (derivation->output-path guile-for-build)
"/bin/guile --no-auto-compile"))
;; If we're going to hit the silly shebang limit (128 chars on Linux-based