Skip to content

Commit

Permalink
Fix makefile and add the missing 'git fetch'
Browse files Browse the repository at this point in the history
To give the makefile the needed git tags information (from source)
  • Loading branch information
bionix committed Jul 16, 2014
1 parent 360313c commit 7208127
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/fpm-with-system-ruby/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ RUBY_PACKAGE=ruby
# and the executable that comes from it
RUBY_BIN=/usr/bin/ruby
# the version we name the deb
VERSION=1.0.2
VERSION=1.1.0
# where to get the sauce
GIT_URL=https://github.com/jordansissel/fpm.git
# the tag we checkout to build from
Expand All @@ -32,7 +32,7 @@ clean:
$(CHECKOUT_DIR):
rm -rf $(CHECKOUT_DIR)
git clone $(GIT_URL) $(CHECKOUT_DIR) --depth 1
cd $(CHECKOUT_DIR) && git checkout $(TAG_SPEC)
cd $(CHECKOUT_DIR) && git fetch && git checkout $(TAG_SPEC)

$(BUNDLE_BIN):
$(GEM_CMD) install bundler --install-dir=$(GEM_PATH) --no-ri --no-rdoc
Expand Down

0 comments on commit 7208127

Please sign in to comment.