build: gnu-build-system: Adjust NOCONFIGURE variable.
This ia a follow-up to 481a0f1a7c
.
* guix/build/gnu-build-system.scm (bootstrap): Set NOCONFIGURE for all
bootstrap scripts. Clean up variable after use.
master
parent
a21bd6d5c2
commit
1b2b7765a0
|
@ -191,13 +191,15 @@ working directory."
|
|||
|
||||
(if script
|
||||
(let ((script (string-append "./" script)))
|
||||
(setenv "NOCONFIGURE" "true")
|
||||
(format #t "running '~a'~%" script)
|
||||
(if (executable-file? script)
|
||||
(begin
|
||||
(patch-shebang script)
|
||||
(setenv "NOCONFIGURE" "true")
|
||||
(invoke script))
|
||||
(invoke "sh" script)))
|
||||
(invoke "sh" script))
|
||||
;; Let's clean up after ourselves.
|
||||
(unsetenv "NOCONFIGURE"))
|
||||
(if (or (file-exists? "configure.ac")
|
||||
(file-exists? "configure.in"))
|
||||
(invoke "autoreconf" "-vif")
|
||||
|
|
Reference in New Issue