diff --git a/makefile b/makefile index b2e31c99..3269c0bc 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/`date +%Y%m%d`/g' $(DebBuildDir)/DEBIAN/control + sed -i.bak 's/YYYYMMDD/echo `date +%Y%m%d`/g' $(DebBuildDir)/DEBIAN/control dpkg -b $(DebBuildDir) $(ReleaseDebs)/$(PROJECT)-$(VERSION)-$(Release).$(PLATFORM).deb rpm: $(BINNAME)