unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#49325: brdf-explorer assumes #!/bin/sh exists
@ 2021-07-02  8:16 Maxime Devos
  2021-07-19 14:26 ` Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: Maxime Devos @ 2021-07-02  8:16 UTC (permalink / raw)
  To: 49325

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

Hi guix,

From the package definition of "brdf-explorer":

(format port "#!/bin/sh
# Run the thing from its home, otherwise it just bails out.
cd \"~a\"
exec -a \"$0\" ~a/.brdf-real~%" ...)

That should be #!/gnu/store/.../bin/sh instead ...

Greetings,
Maxime.

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 256 bytes --]

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

* bug#49325: brdf-explorer assumes #!/bin/sh exists
  2021-07-02  8:16 bug#49325: brdf-explorer assumes #!/bin/sh exists Maxime Devos
@ 2021-07-19 14:26 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2021-07-19 14:26 UTC (permalink / raw)
  To: Maxime Devos; +Cc: 49325

Hi,

Maxime Devos <maximedevos@telenet.be> skribis:

> From the package definition of "brdf-explorer":
>
> (format port "#!/bin/sh
> # Run the thing from its home, otherwise it just bails out.
> cd \"~a\"
> exec -a \"$0\" ~a/.brdf-real~%" ...)
>
> That should be #!/gnu/store/.../bin/sh instead ...

No, it’s OK, because the ‘patch-shebangs’ phase kicks in right after
that and fixes it:

--8<---------------cut here---------------start------------->8---
$ head -2 $(guix build brdf-explorer)/bin/brdf
#!/gnu/store/pwcp239kjf7lnj5i4lkdzcfcxwcfyk72-bash-minimal-5.0.16/bin/sh
# Run the thing from its home, otherwise it just bails out.
--8<---------------cut here---------------end--------------->8---

Ludo’.




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

end of thread, other threads:[~2021-07-19 14:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-02  8:16 bug#49325: brdf-explorer assumes #!/bin/sh exists Maxime Devos
2021-07-19 14:26 ` Ludovic Courtès

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