From 2bdd838d90ec64e00395229de6fc7a9be5193159 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Fri, 28 Jun 2013 22:05:03 -0400 Subject: [PATCH] scripts: dish.sh should prefix exe's with 'packer-' [GH-39] --- scripts/dist.sh | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/scripts/dist.sh b/scripts/dist.sh index 879259552..bfa24ebac 100755 --- a/scripts/dist.sh +++ b/scripts/dist.sh @@ -61,7 +61,14 @@ for PLUGIN in $(find ./plugin -mindepth 1 -maxdepth 1 -type d); do pushd ${PLUGIN} xc popd - find ./pkg -type f -name ${PLUGIN_NAME} -execdir mv ${PLUGIN_NAME} packer-${PLUGIN_NAME} ';' + find ./pkg \ + -type f \ + -name ${PLUGIN_NAME} \ + -execdir mv ${PLUGIN_NAME} packer-${PLUGIN_NAME} ';' + find ./pkg \ + -type f \ + -name ${PLUGIN_NAME}.exe \ + -execdir mv ${PLUGIN_NAME}.exe packer-${PLUGIN_NAME}.exe ';' ) & done