Skip to content

Commit 4c1b92d

Browse files
committed
Avoid extra riak reference - as should be in repo tag
1 parent 3fd7dad commit 4c1b92d

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ PKG_VERSION = $(shell echo $(PKG_ID) | sed -e 's/^$(REPO)-//')
308308

309309
package:
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

314314
packageclean:

rel/pkg/deb/Makefile

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@ export
33
TAR_VERSION = $(shell git describe --tags | sed -e 's/\([0-9.]*\-[0-9]*\)-.*/\1/')
44

55
default:
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 \

0 commit comments

Comments
 (0)