From 2ac3336bf806eac8b1e63293226016c61ea56762 Mon Sep 17 00:00:00 2001 From: Robert von Burg Date: Fri, 19 Sep 2014 23:15:54 +0200 Subject: [PATCH] [Project] fixing createBundle.sh --- li.strolch.dev/createBundle.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/li.strolch.dev/createBundle.sh b/li.strolch.dev/createBundle.sh index 523162504..121643472 100755 --- a/li.strolch.dev/createBundle.sh +++ b/li.strolch.dev/createBundle.sh @@ -94,8 +94,8 @@ if ! tar -cvzf ${projectName}-${projectVersion}.tar.gz ${projectName} ; then fi if [ "$(hostname -f)" == "${DEPLOY_SERVER}" ] ; then - if ! cp "${workDir}" "${DIST_STROLCH}" ; then - echo "ERROR: Failed to publish package for project ${name}." + if ! cp "${workDir}/*" "${DIST_STROLCH}" ; then + echo "ERROR: Failed to publish packages." exit 1 fi