1 --- packer/scripts/build.sh 2013-09-26 00:24:44.414373468 +0300
2 +++ /tmp/build.sh 2013-09-26 00:38:58.457386171 +0300
7 # This script only builds the application from source.
13 -GIT_COMMIT=$(git rev-parse HEAD)
14 +GIT_COMMIT=$(git rev-parse HEAD || echo ca9426d6e73c2307e0f3d451adecccbe19241a8c)
15 GIT_DIRTY=$(test -n "`git status --porcelain`" && echo "+CHANGES" || true)
17 # If we're building on Windows, specify an extension
21 echo -e "${OK_COLOR}--> Installing dependencies to speed up builds...${NO_COLOR}"
26 # This function waits for all background tasks to complete