File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -308,7 +308,7 @@ PKG_VERSION = $(shell echo $(PKG_ID) | sed -e 's/^$(REPO)-//')
308308
309309package :
310310 mkdir rel/pkg/out/riak-$(PKG_ID )
311- git archive --format=tar HEAD | gzip > rel/pkg/out/riak- $(PKG_ID ) .tar.gz
311+ git archive --format=tar HEAD | gzip > rel/pkg/out/$(PKG_ID ) .tar.gz
312312 $(MAKE ) -f rel/pkg/Makefile
313313
314314packageclean :
Original file line number Diff line number Diff line change 33TAR_VERSION = $(shell git describe --tags | sed -e 's/\([0-9.]* \-[0-9]* \) -.*/\1/')
44
55default :
6- mkdir -p $(BASE_DIR ) /rel/pkg/out/riak- $(PKG_ID ) /debian
7- cp -R $(BASE_DIR ) /rel/pkg/deb/debian/* $(BASE_DIR ) /rel/pkg/out/riak- $(PKG_ID ) /debian
6+ mkdir -p $(BASE_DIR ) /rel/pkg/out/$(PKG_ID ) /debian
7+ cp -R $(BASE_DIR ) /rel/pkg/deb/debian/* $(BASE_DIR ) /rel/pkg/out/$(PKG_ID ) /debian
88
9- tar -xf $(BASE_DIR)/rel/pkg/out/riak- $(PKG_ID).tar.gz -C $(BASE_DIR)/rel/pkg/out/riak- $(PKG_ID)/
10- ln -sf $(BASE_DIR)/rel/pkg/out/riak- $(PKG_ID).tar.gz $(BASE_DIR)/rel/pkg/out/riak_ $(TAR_VERSION).orig.tar.gz
9+ tar -xf $(BASE_DIR)/rel/pkg/out/$(PKG_ID).tar.gz -C $(BASE_DIR)/rel/pkg/out/$(PKG_ID)/
10+ ln -sf $(BASE_DIR)/rel/pkg/out/$(PKG_ID).tar.gz $(BASE_DIR)/rel/pkg/out/$(TAR_VERSION).orig.tar.gz
1111
12- cd $(BASE_DIR)/rel/pkg/out/riak- $(PKG_ID)/; \
12+ cd $(BASE_DIR)/rel/pkg/out/$(PKG_ID)/; \
1313 echo $(shell pwd); \
1414 dch --create --package riak -v "$(PKG_ID)" \
1515 "Build from $(PKG_ID)";\
@@ -20,7 +20,7 @@ default:
2020 -i -uc -us -b
2121
2222 mkdir -p $(BASE_DIR)/rel/pkg/packages
23- cd $(BASE_DIR)/rel/pkg/out && mv riak_ *.deb ../packages
23+ cd $(BASE_DIR)/rel/pkg/out && mv *.deb ../packages
2424 cd $(BASE_DIR)/rel/pkg/packages && \
2525 for debfile in *.deb; do \
2626 sha256sum $${debfile} > $${debfile}.sha \
You can’t perform that action at this time.
0 commit comments