diff --git a/openwrt/rules.mk b/openwrt/rules.mk
index 57544ee5bf536469808a0aeca07172c5b3f006c7..2759941e2f7db5c876741a554b79bbacec9798c6 100644
--- a/openwrt/rules.mk
+++ b/openwrt/rules.mk
@@ -1,4 +1,7 @@
 include $(TOPDIR)/.config
+SHELL=/bin/bash
+export SHELL
+
 MAKE1=make
 MAKEFLAGS=-j$(BR2_JLEVEL)