summaryrefslogtreecommitdiff
path: root/mk/build.mk
diff options
context:
space:
mode:
Diffstat (limited to 'mk/build.mk')
-rw-r--r--mk/build.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/mk/build.mk b/mk/build.mk
index 1fa253b11..20c08b15a 100644
--- a/mk/build.mk
+++ b/mk/build.mk
@@ -188,7 +188,7 @@ kernelconfig:
newpackage:
@echo "Creating new package $(PKG)"
$(CP) $(TOPDIR)/package/.template $(TOPDIR)/package/$(PKG)
- pkg=$$(echo $(PKG)|tr '[:lower:]' '[:upper:]'|sed -e "s/-/_/g"); \
+ pkg=$$(echo $(PKG)|tr '[:lower:]-' '[:upper:]_'); \
$(SED) "s#@UPKG@#$$pkg#" $(TOPDIR)/package/$(PKG)/Makefile
$(SED) 's#@PKG@#$(PKG)#' $(TOPDIR)/package/$(PKG)/Makefile
$(SED) 's#@VER@#$(VER)#' $(TOPDIR)/package/$(PKG)/Makefile