* [bug#38781] [PATCH core-updates] build-system/gnu: Make 'first-subdirectory' optional.
@ 2019-12-28 21:46 Danny Milosavljevic
2020-01-30 12:19 ` Marius Bakke
0 siblings, 1 reply; 3+ messages in thread
From: Danny Milosavljevic @ 2019-12-28 21:46 UTC (permalink / raw)
To: 38781; +Cc: Danny Milosavljevic
* guix/build/gnu-build-system.scm (unpack): Make 'first-subdirectory'
optional.
---
guix/build/gnu-build-system.scm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/guix/build/gnu-build-system.scm b/guix/build/gnu-build-system.scm
index 4df0bb4904..4ebaa455b0 100644
--- a/guix/build/gnu-build-system.scm
+++ b/guix/build/gnu-build-system.scm
@@ -160,7 +160,7 @@ working directory."
(if (string-suffix? ".zip" source)
(invoke "unzip" source)
(invoke "tar" "xvf" source))
- (chdir (first-subdirectory "."))))
+ (chdir (or (first-subdirectory ".") "."))))
#t)
(define %bootstrap-scripts
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-10-19 12:37 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-28 21:46 [bug#38781] [PATCH core-updates] build-system/gnu: Make 'first-subdirectory' optional Danny Milosavljevic
2020-01-30 12:19 ` Marius Bakke
2023-10-19 12:37 ` bug#38781: " Maxim Cournoyer
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).