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  
    1212cd $DIR
    1313
    1414# Get the git commit
    15 GIT_COMMIT=$(git rev-parse HEAD)
    16 GIT_DIRTY=$(test -n "`git status --porcelain`" && echo "+CHANGES" || true)
     15GIT_COMMIT=""
     16GIT_DIRTY=""
    1717
    1818# If its dev mode, only build for ourself
    1919if [ "${PACKER_DEV}x" != "x" ]; then
     
    2222fi
    2323
    2424# 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}
     25XC_ARCH=${XC_ARCH:-"amd64"}
     26XC_OS=${XC_OS:-darwin}
    2727
    2828# Delete the old dir
    2929echo "==> Removing old directory..."