aboutsummaryrefslogtreecommitdiff
path: root/tests/gexp.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2014-07-25 00:26:29 +0200
committerLudovic Courtès <ludo@gnu.org>2014-07-25 00:26:29 +0200
commit6c9e7b2bea834e311938db79a815a48cab36e986 (patch)
tree3e75825a5e9256a2a089301949d4839ede838646 /tests/gexp.scm
parent417175096aef38c6a72acbbcfdba636c723ab79e (diff)
downloadpatches-6c9e7b2bea834e311938db79a815a48cab36e986.tar
patches-6c9e7b2bea834e311938db79a815a48cab36e986.tar.gz
build: Better reject systems where the shebang would be too long.
* tests/gexp.scm (shebang): Add "#!".
Diffstat (limited to 'tests/gexp.scm')
-rw-r--r--tests/gexp.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/gexp.scm b/tests/gexp.scm
index 6d4885e44e..bdea4b8563 100644
--- a/tests/gexp.scm
+++ b/tests/gexp.scm
@@ -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