From c0a6e200aa974439401cab939de8c23ef879f8d1 Mon Sep 17 00:00:00 2001 From: Xavier MARCELET Date: Wed, 25 Jul 2018 14:55:16 +0200 Subject: [PATCH] fix when directory already exist --- packages/cloudstack_cpi/packaging | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/cloudstack_cpi/packaging b/packages/cloudstack_cpi/packaging index bfaad3e..c227742 100644 --- a/packages/cloudstack_cpi/packaging +++ b/packages/cloudstack_cpi/packaging @@ -13,7 +13,7 @@ source ${pkg_dir}/bosh/compile.env mkdir -p ../src/github.com/orange-cloudfoundry && cp -a * ../src/github.com/orange-cloudfoundry && mv ../src ./src -mkdir $BOSH_INSTALL_TARGET/bin +mkdir -p $BOSH_INSTALL_TARGET/bin go build -o $BOSH_INSTALL_TARGET/bin/cloudstack_cpi src/github.com/orange-cloudfoundry/bosh-cpi-cloudstack/main/*.go