unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [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

* [bug#38781] [PATCH core-updates] build-system/gnu: Make 'first-subdirectory' optional.
  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
  0 siblings, 1 reply; 3+ messages in thread
From: Marius Bakke @ 2020-01-30 12:19 UTC (permalink / raw)
  To: Danny Milosavljevic, 38781

[-- Attachment #1: Type: text/plain, Size: 179 bytes --]

Danny Milosavljevic <dannym@scratchpost.org> writes:

> * guix/build/gnu-build-system.scm (unpack): Make 'first-subdirectory'
> optional.

Do you have a use case for this change?

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#38781: [PATCH core-updates] build-system/gnu: Make 'first-subdirectory' optional.
  2020-01-30 12:19 ` Marius Bakke
@ 2023-10-19 12:37   ` Maxim Cournoyer
  0 siblings, 0 replies; 3+ messages in thread
From: Maxim Cournoyer @ 2023-10-19 12:37 UTC (permalink / raw)
  To: Marius Bakke; +Cc: Danny Milosavljevic, 38781-done

Hi,

Marius Bakke <mbakke@fastmail.com> writes:

> Danny Milosavljevic <dannym@scratchpost.org> writes:
>
>> * guix/build/gnu-build-system.scm (unpack): Make 'first-subdirectory'
>> optional.
>
> Do you have a use case for this change?

Closing as the use case is not clear.

-- 
Thanks,
Maxim




^ permalink raw reply	[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).