From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yann E. MORIN Date: Fri, 12 Jan 2018 18:35:10 +0100 Subject: [Buildroot] [PATCH] package/bash: add /bin/bash to /etc/shells In-Reply-To: <20180112095938.621ff1bc@windsurf.lan> References: <1515666444-13390-1-git-send-email-romain.naour@smile.fr> <20180111171357.GA3559@scaer> <20180112095938.621ff1bc@windsurf.lan> Message-ID: <20180112173510.GA3226@scaer> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net Thomas, All, On 2018-01-12 09:59 +0100, Thomas Petazzoni spake thusly: > On Thu, 11 Jan 2018 18:13:57 +0100, Yann E. MORIN wrote: > > grep -E '^/bin/bash$' $(TARGET_DIR)/etc/shells >/dev/null 2>&1 \ > grep -q ? -q is not POSIX. Redirecting is guaranteed to always work. Regards, Yann E. MORIN. -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------'