[PATCH core-updates] build-system/gnu: Make 'first-subdirectory' optional.

  • Done
  • quality assurance status badge
Details
3 participants
  • Danny Milosavljevic
  • Maxim Cournoyer
  • Marius Bakke
Owner
unassigned
Submitted by
Danny Milosavljevic
Severity
normal

Debbugs page

D
D
Danny Milosavljevic wrote on 28 Dec 2019 13:46
(address . guix-patches@gnu.org)(name . Danny Milosavljevic)(address . dannym@scratchpost.org)
20191228214622.4061-1-dannym@scratchpost.org
* 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(-)

Toggle diff (13 lines)
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
M
M
Marius Bakke wrote on 30 Jan 2020 04:19
(name . Danny Milosavljevic)(address . dannym@scratchpost.org)
87wo99nnlm.fsf@devup.no
Danny Milosavljevic <dannym@scratchpost.org> writes:

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

Do you have a use case for this change?
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAl4yycUACgkQoqBt8qM6
VPpJHwgAnbIKs6Hl1KHxS8bxTw7Msw0ztcLpepxeO+A+80XJwAj4+DAZBW5DWXXX
+H1g7Hsmanz+12AWC9MC2BEsUaWMYtGuaFKRSVBVT/21v0lPIvEFBBaQi9zymumk
WCz66NFXwCzHmAKIKs3Rdjr+qFq2SLBnUojOg6LCU6xs9wk2UsWRR9xMKN0YNqUi
sSqNmT2/hwv8Km+q3w8tM1aisuvcGx6wQETPe/Dnl8btVq9q2Uv+4bvDqMKn/K94
+Wa3AQ3VfbPj+K2HP3fglIvsK4JBNXvOJo1f/qe3Dq5UN4I7iJZxKivbrIZbZUCy
0UDgev17zfsGu4b7nW/0lhXnI9mrwQ==
=+die
-----END PGP SIGNATURE-----

M
M
Maxim Cournoyer wrote on 19 Oct 2023 05:36
control message for bug #38781
(address . control@debbugs.gnu.org)
8734y6pz4q.fsf@gmail.com
tags 38781 + moreinfo
quit
M
M
Maxim Cournoyer wrote on 19 Oct 2023 05:37
Re: bug#38781: [PATCH core-updates] build-system/gnu: Make 'first-subdirectory' optional.
(name . Marius Bakke)(address . mbakke@fastmail.com)
871qdqpz3y.fsf_-_@gmail.com
Hi,

Marius Bakke <mbakke@fastmail.com> writes:

Toggle quote (7 lines)
> 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
Closed
?
Your comment

This issue is archived.

To comment on this conversation send an email to 38781@patchwise.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 38781
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch