unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#55270: unpack phase randomly changes the cwd
@ 2022-05-05 11:16 Attila Lendvai
  2022-05-05 12:18 ` Maxime Devos
  2022-05-05 20:12 ` Liliana Marie Prikler
  0 siblings, 2 replies; 6+ messages in thread
From: Attila Lendvai @ 2022-05-05 11:16 UTC (permalink / raw)
  To: 55270

at the end of the unpack phase, the working directory is changed to a random directory.

https://git.savannah.gnu.org/cgit/guix.git/tree/guix/build/gnu-build-system.scm#n178

this is fine *when* the archive contains a single dir... but this DWIM'ness has just burned 15 mintues of my life, and i recommend removing it.

if it is to stay, then at least it should be patched that it only happens when the dir after extraction only contains a single subdir, and no files otherwise.

--
• attila lendvai
• PGP: 963F 5D5F 45C7 DFCD 0A39
--
“When men hire themselves out to shoot other men to order, asking nothing about the justice of their cause, I don’t care if they are shot themselves.”
	— Herbert Spencer (1820–1903), during Britain's second Afghan war





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

end of thread, other threads:[~2022-07-12 16:49 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-05 11:16 bug#55270: unpack phase randomly changes the cwd Attila Lendvai
2022-05-05 12:18 ` Maxime Devos
2022-05-05 13:15   ` Attila Lendvai
2022-05-05 20:12 ` Liliana Marie Prikler
2022-07-12 14:11   ` Maxim Cournoyer
2022-07-12 16:47     ` Liliana Marie Prikler

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).