mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-10-01 06:21:56 -09:00
package/bash: add missing double-dollar for /etc/shells
Commit 4d279697af 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>
This commit is contained in:
committed by
Thomas Petazzoni
parent
e05e4de693
commit
849d748ae6
@@ -45,7 +45,7 @@ define BASH_INSTALL_TARGET_CMDS
|
|||||||
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) \
|
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) \
|
||||||
DESTDIR=$(TARGET_DIR) exec_prefix=/ install
|
DESTDIR=$(TARGET_DIR) exec_prefix=/ install
|
||||||
rm -f $(TARGET_DIR)/bin/bashbug
|
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
|
|| echo "/bin/bash" >> $(TARGET_DIR)/etc/shells
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user