Created
March 27, 2012 14:21
-
-
Save dmerrick/2216306 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -x # print every command before it runs | |
set -e # exit if any command fails | |
mkdir -p /tmp/katama_chef/ | |
git checkout katama_chef | |
cp -r cookbooks/$1 /tmp/katama_chef/ | |
mkdir -p /tmp/hc_production/ | |
git checkout hc_production | |
cp -r cookbooks/$1 /tmp/hc_production/ | |
diff -rq /tmp/katama_chef/$1 /tmp/hc_production/$1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment