From: elliottcable Date: Sun, 18 May 2008 06:44:54 +0000 (-0800) Subject: Another tweak X-Git-Url: https://repo.or.cz/git-blog.git/commitdiff_plain/d2bc7b8c1dcda3ef1366a120e4046e5e95bfc4db Another tweak --- diff --git a/prepped/post-receive.hook b/prepped/post-receive.hook index d575149..954b2b4 100644 --- a/prepped/post-receive.hook +++ b/prepped/post-receive.hook @@ -1,4 +1,4 @@ -#!/usr/bin/env ruby --trace +#!/usr/bin/env ruby # require 'rubygems' # require 'git' require 'fileutils' @@ -12,6 +12,9 @@ include FileUtils # Branch = Repo.branches[Refname.split('/')[2..-1].join('/')] # Not sure if I trust this completely... +puts pwd # wtf is going on +system 'pwd' # wtf is going on + system 'cd ../ ; git-checkout -f master' # Should force the push to actually go live cd '../' puts 'Re-deploying blog...'