summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRomain Naour <romain.naour@smile.fr>2018-01-19 11:15:08 +0100
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>2018-05-03 23:15:07 +0200
commit849d748ae61badfbead9630454a6c1c93ee81bb8 (patch)
treef0aec59c239c9ff1e17772581417f26529022af9
parente05e4de693416e7a099fb87097c21e2b32ae5472 (diff)
downloadbuildroot-849d748ae61badfbead9630454a6c1c93ee81bb8.tar.gz
buildroot-849d748ae61badfbead9630454a6c1c93ee81bb8.zip
package/bash: add missing double-dollar for /etc/shells
Commit 4d279697afbf8fb295274784103be2b837113d5e missed one comment from Yann E. Morin about the double-dollar. Signed-off-by: Romain Naour <romain.naour@smile.fr> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
-rw-r--r--package/bash/bash.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/bash/bash.mk b/package/bash/bash.mk
index b162d93188..2182bede15 100644
--- a/package/bash/bash.mk
+++ b/package/bash/bash.mk
@@ -45,7 +45,7 @@ define BASH_INSTALL_TARGET_CMDS
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) \
DESTDIR=$(TARGET_DIR) exec_prefix=/ install
rm -f $(TARGET_DIR)/bin/bashbug
- grep -qsE '^/bin/bash' $(TARGET_DIR)/etc/shells \
+ grep -qsE '^/bin/bash$$' $(TARGET_DIR)/etc/shells \
|| echo "/bin/bash" >> $(TARGET_DIR)/etc/shells
endef
OpenPOWER on IntegriCloud