]> git.pld-linux.org Git - packages/packer.git/blob - build.patch
git env clean still needed
[packages/packer.git] / build.patch
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
3 @@ -1,4 +1,5 @@
4  #!/bin/bash
5 +set -x
6  #
7  # This script only builds the application from source.
8  set -e
9 @@ -17,7 +18,7 @@
10  cd $DIR
11  
12  # Get the git commit
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)
16  
17  # If we're building on Windows, specify an extension
18 @@ -36,7 +37,8 @@
19  fi
20  
21  echo -e "${OK_COLOR}--> Installing dependencies to speed up builds...${NO_COLOR}"
22 -go get ./...
23 +#pwd
24 +go get ./... || :
25  
26  # This function waits for all background tasks to complete
27  waitAll() {
This page took 0.047547 seconds and 3 git commands to generate.