From 849d748ae61badfbead9630454a6c1c93ee81bb8 Mon Sep 17 00:00:00 2001 From: Romain Naour Date: Fri, 19 Jan 2018 11:15:08 +0100 Subject: [PATCH] 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 Reviewed-by: "Yann E. MORIN" Signed-off-by: Thomas Petazzoni --- package/bash/bash.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.30.2