diff mbox series

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

Message ID 8734yp8cjw.fsf_-_@gnu.org
State New
Headers show
Series bug#65931: [PATCH] gnu: Add apple-bash. | expand

Commit Message

Ludovic Courtès Oct. 5, 2023, 12:43 p.m. UTC
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 mbox series

Patch

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