From eb9ef51d9672b7122322166e8653b19e8b8de553 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Sun, 18 Aug 2013 10:37:53 -0600 Subject: [PATCH] scripts: update dist.sh to latest go-xc --- scripts/dist.sh | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/scripts/dist.sh b/scripts/dist.sh index 066992caf..342fc9042 100755 --- a/scripts/dist.sh +++ b/scripts/dist.sh @@ -60,15 +60,11 @@ waitAll() { trap "kill 0" SIGINT SIGTERM EXIT # Build our root project -xc & +xc # Build all the plugins for PLUGIN in $(find ./plugin -mindepth 1 -maxdepth 1 -type d); do PLUGIN_NAME=$(basename ${PLUGIN}) - ( - pushd ${PLUGIN} - xc - popd find ./pkg \ -type f \ -name ${PLUGIN_NAME} \ @@ -77,11 +73,8 @@ for PLUGIN in $(find ./plugin -mindepth 1 -maxdepth 1 -type d); do -type f \ -name ${PLUGIN_NAME}.exe \ -execdir mv ${PLUGIN_NAME}.exe packer-${PLUGIN_NAME}.exe ';' - ) & done -waitAll - # Zip all the packages mkdir -p ./pkg/${VERSIONDIR}/dist for PLATFORM in $(find ./pkg/${VERSIONDIR} -mindepth 1 -maxdepth 1 -type d); do