From: Peter Korsgaard <peter@korsgaard.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v2] dash: enable line editting if libedit is selected.
Date: Sun, 04 Feb 2018 12:10:15 +0100 [thread overview]
Message-ID: <87woztxb6w.fsf@dell.be.48ers.dk> (raw)
In-Reply-To: <1506622076-21776-1-git-send-email-casantos@datacom.ind.br> (Carlos Santos's message of "Thu, 28 Sep 2017 15:07:56 -0300")
>>>>> "Carlos" == Carlos Santos <casantos@datacom.ind.br> writes:
> Otherwise, explicitly disable it, so that the configure script does not
> misdetect a system-installed libedit for example.
> Also, add a profile snippet enabling line editing, Emacs style.
> Change-Id: I68c6dbbafa95e266860329cb9c7ff5519fda5bf8
> Signed-off-by: Carlos Santos <casantos@datacom.ind.br>
> ---
> package/dash/dash.mk | 13 +++++++++++++
> 1 file changed, 13 insertions(+)
> diff --git a/package/dash/dash.mk b/package/dash/dash.mk
> index 72ef722..0098fad 100644
> --- a/package/dash/dash.mk
> +++ b/package/dash/dash.mk
> @@ -10,6 +10,19 @@ DASH_SITE = http://gondor.apana.org.au/~herbert/dash/files
> DASH_LICENSE = BSD-3-Clause, GPL-2.0+ (mksignames.c)
> DASH_LICENSE_FILES = COPYING
> +# Enable line editing, Emacs style
> +define DASH_INSTALL_PROFILE
> + echo 'set -E' > $(TARGET_DIR)/etc/profile.d/dash.sh
/etc/profile.d is part of our standard skeleton, but may not be present
in custom skeletons, so I've also added a mkdir -p
${TARGET_DIR}/etc/profile.d
--
Bye, Peter Korsgaard
next prev parent reply other threads:[~2018-02-04 11:10 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-27 16:41 [Buildroot] [PATCH 1/2] dash: bump to version 0.5.9.1 Carlos Santos
2017-09-27 16:41 ` [Buildroot] [PATCH 2/2] dash: enable line editting if libedit is selected Carlos Santos
2017-09-27 19:18 ` Thomas Petazzoni
2017-09-27 20:19 ` Carlos Santos
2017-09-28 6:59 ` Thomas Petazzoni
2017-09-28 11:54 ` Carlos Santos
2017-09-28 18:07 ` [Buildroot] [PATCH v2] " Carlos Santos
2018-02-04 11:07 ` Peter Korsgaard
2018-02-04 11:10 ` Peter Korsgaard [this message]
2017-09-27 19:17 ` [Buildroot] [PATCH 1/2] dash: bump to version 0.5.9.1 Thomas Petazzoni
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=87woztxb6w.fsf@dell.be.48ers.dk \
--to=peter@korsgaard.com \
--cc=buildroot@busybox.net \
/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