Ticket #52838: patch-build.sh.diff
File patch-build.sh.diff, 673 bytes (added by echophage (Echophage), 8 years ago) |
---|
-
scripts/build.sh
old new 12 12 cd $DIR 13 13 14 14 # Get the git commit 15 GIT_COMMIT= $(git rev-parse HEAD)16 GIT_DIRTY= $(test -n "`git status --porcelain`" && echo "+CHANGES" || true)15 GIT_COMMIT="" 16 GIT_DIRTY="" 17 17 18 18 # If its dev mode, only build for ourself 19 19 if [ "${PACKER_DEV}x" != "x" ]; then … … 22 22 fi 23 23 24 24 # Determine the arch/os combos we're building for 25 XC_ARCH=${XC_ARCH:-" 386 amd64 arm"}26 XC_OS=${XC_OS:- linux darwin windows freebsd openbsd}25 XC_ARCH=${XC_ARCH:-"amd64"} 26 XC_OS=${XC_OS:-darwin} 27 27 28 28 # Delete the old dir 29 29 echo "==> Removing old directory..."