Skip to content

Commit

Permalink
fixing riak_base
Browse files Browse the repository at this point in the history
  • Loading branch information
drewkerrigan committed Feb 2, 2016
1 parent 8620924 commit 60c5870
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -60,16 +60,15 @@ sync-standalone:
s3cmd put --acl-public $(PKGNAME) s3://$(DEPLOY_BASE) && \
s3cmd put --acl-public $(PKGNAME).sha s3://$(DEPLOY_BASE)

export PKGNAME = $(REPO)-patch-$(PKG_VERSION)-$(ARCH).tar.gz
RIAK_BASE ?= root/riak
RIAK_BASE ?= root
tarball: compile
echo "Creating packages/"$(PKGNAME)
-rm -rf rel/$(RIAK_BASE)
mkdir -p rel/$(RIAK_BASE)/lib/basho-patches
mkdir -p rel/$(RIAK_BASE)/priv
cp -R deps/riakc/ebin/* rel/$(RIAK_BASE)/lib/basho-patches/
cp -R ebin/* rel/$(RIAK_BASE)/lib/basho-patches/
cp -R priv/* rel/$(RIAK_BASE)/priv/
mkdir -p rel/$(RIAK_BASE)/riak/lib/basho-patches
mkdir -p rel/$(RIAK_BASE)/riak/priv
cp -R deps/riakc/ebin/* rel/$(RIAK_BASE)/riak/lib/basho-patches/
cp -R ebin/* rel/$(RIAK_BASE)/riak/lib/basho-patches/
cp -R priv/* rel/$(RIAK_BASE)/riak/priv/
mkdir -p packages
tar -C rel -czf $(PKGNAME) root
mv $(PKGNAME) packages/
Expand Down

0 comments on commit 60c5870

Please sign in to comment.