package/bash: add missing double-dollar for /etc/shells
authorRomain Naour <romain.naour@smile.fr>
Fri, 19 Jan 2018 10:15:08 +0000 (11:15 +0100)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Thu, 3 May 2018 21:15:07 +0000 (23:15 +0200)
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>
package/bash/bash.mk

index b162d93188bf9598daa1d8b6a5f48f3d56152d40..2182bede1550034568670734a544ba6b926a62ad 100644 (file)
@@ -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