diff options
Diffstat (limited to 'mk/build.mk')
-rw-r--r-- | mk/build.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mk/build.mk b/mk/build.mk index 66f49089b..1fa253b11 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:]'); \ + pkg=$$(echo $(PKG)|tr '[:lower:]' '[:upper:]'|sed -e "s/-/_/g"); \ $(SED) "s#@UPKG@#$$pkg#" $(TOPDIR)/package/$(PKG)/Makefile $(SED) 's#@PKG@#$(PKG)#' $(TOPDIR)/package/$(PKG)/Makefile $(SED) 's#@VER@#$(VER)#' $(TOPDIR)/package/$(PKG)/Makefile |