From: Eduardo Santos <eduardo.experimental@gmail.com>
To: dash@vger.kernel.org
Cc: Eduardo Santos <eduardo.experimental@gmail.com>
Subject: [PATCH] [DNM] builtin: add source for Bash compat
Date: Thu, 28 Aug 2025 18:12:20 -0300 [thread overview]
Message-ID: <20250828211219.392014-2-eduardo.experimental@gmail.com> (raw)
Do not merge this patch; it is purely informational.
I tried using DASH in a container image for GitLab CI/CD [1] but the
runner expects the source special builtin from Bash to be available.
This one-liner fixed it for me.
[1] https://docs.gitlab.com/runner/configuration/advanced-configuration/#use-a-posix-compliant-shell
Signed-off-by: Eduardo Santos <eduardo.experimental@gmail.com>
---
src/builtins.def.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/builtins.def.in b/src/builtins.def.in
index 95e420c..7a7d68a 100644
--- a/src/builtins.def.in
+++ b/src/builtins.def.in
@@ -61,7 +61,7 @@ histcmd -u fc
breakcmd -s break -s continue
cdcmd -u cd chdir
commandcmd -u command
-dotcmd -s .
+dotcmd -s . -s source
echocmd echo
evalcmd -ns eval
execcmd -s exec
--
2.51.0
next reply other threads:[~2025-08-28 21:13 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-08-28 21:12 Eduardo Santos [this message]
2025-09-14 22:22 ` [PATCH] [DNM] builtin: add source for Bash compat Sebastien Peterson-Boudreau
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=20250828211219.392014-2-eduardo.experimental@gmail.com \
--to=eduardo.experimental@gmail.com \
--cc=dash@vger.kernel.org \
/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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox