bug#49325: brdf-explorer assumes #!/bin/sh exists

2021-07-19 Thread Ludovic Courtès
Hi,

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





bug#49325: brdf-explorer assumes #!/bin/sh exists

2021-07-02 Thread Maxime Devos
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.


signature.asc
Description: This is a digitally signed message part