From 822c2cf533ecbbf47a5458b58426bdbe4eda7864 Mon Sep 17 00:00:00 2001 From: simonzhangsz Date: Fri, 15 Sep 2023 16:04:14 +0800 Subject: [PATCH] i --- makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/makefile b/makefile index 3269c0bc..674dfa98 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/`echo $(RelDate)`/g' $(DebBuildDir)/DEBIAN/control dpkg -b $(DebBuildDir) $(ReleaseDebs)/$(PROJECT)-$(VERSION)-$(Release).$(PLATFORM).deb rpm: $(BINNAME)