projects
/
feed
/
packages.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
986b0d1
)
grep: use posix shebang for egrep/fgrep
author
Vladislav Grigoryev
<vg.aetera@gmail.com>
Tue, 7 Sep 2021 10:58:06 +0000
(13:58 +0300)
committer
Rosen Penev
<rosenp@gmail.com>
Tue, 7 Sep 2021 18:31:55 +0000
(11:31 -0700)
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>
utils/grep/Makefile
patch
|
blob
|
history
diff --git
a/utils/grep/Makefile
b/utils/grep/Makefile
index 2ec599095ecc26a4313a5165ce282ddf4810beef..55190b1b87bbbacb26311612562b0b3c261adb65 100644
(file)
--- 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