guix-patches
[Top][All Lists]
Advanced

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

bug#65931: [PATCH] gnu: Add apple-bash.


From: Ludovic Courtès
Subject: bug#65931: [PATCH] gnu: Add apple-bash.
Date: Thu, 05 Oct 2023 14:43:31 +0200
User-agent: Gnus/5.13 (Gnus v5.13)

Hi,

"B. Wilson" <elaexuotee@wilsonb.com> skribis:

> It is also my understanding that this is based off GNU Bash 3.2. I'd be
> hard-pressed to point at any particular changes and call them significant, but
> there are a lot of small edge cases that add up, e.g. the special cases around
> non-zero returns and set -e are pretty different.
>
> This patch is part of a larger project of mine to get Apple utils packaged up.
> It's super useful to have them as a test target for shell script portability 
> in
> CIs and the like.

Alright, that makes sense to me.

Applied with the changes below, thanks!

Ludo’.

diff --git a/gnu/packages/apple.scm b/gnu/packages/apple.scm
index 6b181a1fdc..b59eee1802 100644
--- a/gnu/packages/apple.scm
+++ b/gnu/packages/apple.scm
@@ -52,6 +52,8 @@ (define-public apple-bash
               (substitute* "execute_cmd.c"
                 (("EBADEXEC") "ENOEXEC")))))))
     (home-page "https://github.com/apple-oss-distributions/bash/";)
-    (synopsis "Bash used on Apple MacOS systems")
-    (description "This is the version of Bash released on Apple MacOS systems")
-    (license license:gpl3+)))
+    (synopsis "Bash used on Apple macOS systems")
+    (description
+     "This is the version of Bash, forked from GNU Bash 3.2, released on Apple
+macOS systems.")
+    (license license:gpl2+)))

reply via email to

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