guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: gnu: texlive-bibexport: Fix Bash shebang.


From: guix-commits
Subject: branch master updated: gnu: texlive-bibexport: Fix Bash shebang.
Date: Sat, 27 Jan 2024 09:10:43 -0500

This is an automated email from the git hooks/post-receive script.

ngz pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 836d608a56 gnu: texlive-bibexport: Fix Bash shebang.
836d608a56 is described below

commit 836d608a56bc798fff0cda507f3c1010bbe1f914
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Sat Jan 27 15:07:39 2024 +0100

    gnu: texlive-bibexport: Fix Bash shebang.
    
    <https://issues.guix.gnu.org/68717>
    
    * gnu/packages/tex.scm (texlive-bibexport)[arguments]<#:phases>: Fix Bash
    shebang in generated script.
    
    Change-Id: Idc6192495994654e6d0b0b2ca2b15e62de1ee9ae
---
 gnu/packages/tex.scm | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 0d76710daa..69a269db93 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -5141,7 +5141,15 @@ multiscript version of @code{biblatex-ms}.")
               "161056627w1lazfpld3lyjwfrl8j8gc4b6dzml46bzwf7mk9ifln")))
     (outputs '("out" "doc"))
     (build-system texlive-build-system)
-    (arguments (list #:link-scripts #~(list "bibexport.sh")))
+    (arguments
+     (list
+      #:link-scripts #~(list "bibexport.sh")
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-after 'build 'fix-bash-shebang
+            (lambda _
+              (substitute* "scripts/bibexport/bibexport.sh"
+                (("/bin/bash") (which "bash"))))))))
     (home-page "https://ctan.org/pkg/bibexport";)
     (synopsis "Extract a BibTeX file based on a @file{.aux} file")
     (description



reply via email to

[Prev in Thread] Current Thread [Next in Thread]