From: Romain Naour Date: Fri, 19 Jan 2018 10:15:08 +0000 (+0100) Subject: package/bash: add missing double-dollar for /etc/shells X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=849d748ae61badfbead9630454a6c1c93ee81bb8;p=buildroot.git 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 --- 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