aboutsummaryrefslogtreecommitdiff
path: root/utils/grep
diff options
context:
space:
mode:
authorVladislav Grigoryev <vg.aetera@gmail.com>2021-09-07 13:58:06 +0300
committerRosen Penev <rosenp@gmail.com>2021-09-07 11:31:55 -0700
commit07b6eec21f57c3cb391b0daf89240b7632b2a49f (patch)
treef5dd795ad55422cbc3284703dee9d51d919dc85c /utils/grep
parent986b0d161afbcc36a9786af59ddf016e9ef30425 (diff)
grep: use posix shebang for egrep/fgrep
Use POSIX shebang for egrep/fgrep instead of the variable/Bash. The issue affects both master and openwrt-21.02. Signed-off-by: Vladislav Grigoryev <vg.aetera@gmail.com>
Diffstat (limited to 'utils/grep')
-rw-r--r--utils/grep/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/utils/grep/Makefile b/utils/grep/Makefile
index 2ec599095..55190b1b8 100644
--- a/utils/grep/Makefile
+++ b/utils/grep/Makefile
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=grep
PKG_VERSION:=3.7
-PKG_RELEASE:=1
+PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
PKG_SOURCE_URL:=@GNU/grep
@@ -23,6 +23,8 @@ PKG_CPE_ID:=cpe:/a:gnu:grep
PKG_INSTALL:=1
PKG_BUILD_PARALLEL:=1
+MAKE_FLAGS += SHELL="/bin/sh"
+
include $(INCLUDE_DIR)/package.mk
define Package/grep