From 33234e05eff3ab603de27c917381f2bd525194c3 Mon Sep 17 00:00:00 2001 From: simonzhangsz Date: Fri, 15 Sep 2023 15:58:52 +0800 Subject: [PATCH] d --- makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/makefile b/makefile index c95d18de..dd8fe6e9 100644 --- a/makefile +++ b/makefile @@ -98,7 +98,7 @@ deb: $(BINNAME) chmod +x $(DebBuildDir)/usr/local/omc/bin/* cp -rf $(BuildDir)/nginx/* $(DebBuildDir)/etc/nginx/conf.d cp -rf $(BuildDir)/systemd/*.service $(DebBuildDir)/lib/systemd/system/ - sed -i.bak 's/YYYYMMDD/$(echo `date +%Y%m%d`)/g' $(DebBuildDir)/DEBIAN/control + sed -i.bak 's/YYYYMMDD/$(`date +%Y%m%d`)/g' $(DebBuildDir)/DEBIAN/control dpkg -b $(DebBuildDir) $(ReleaseDebs)/$(PROJECT)-$(VERSION)-$(Release).$(PLATFORM).deb rpm: $(BINNAME)