all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Ludovic Courtès" <ludo@gnu.org>
To: Maxime Devos <maximedevos@telenet.be>
Cc: 49325@debbugs.gnu.org
Subject: bug#49325: brdf-explorer assumes #!/bin/sh exists
Date: Mon, 19 Jul 2021 16:26:12 +0200	[thread overview]
Message-ID: <87v956nzwb.fsf@gnu.org> (raw)
In-Reply-To: <290ba406313d5aafd6b76860630365eb411a9569.camel@telenet.be> (Maxime Devos's message of "Fri, 02 Jul 2021 10:16:03 +0200")

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




      reply	other threads:[~2021-07-19 14:28 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-02  8:16 bug#49325: brdf-explorer assumes #!/bin/sh exists Maxime Devos
2021-07-19 14:26 ` Ludovic Courtès [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87v956nzwb.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=49325@debbugs.gnu.org \
    --cc=maximedevos@telenet.be \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.