From 2c83f087e5d03cf4dd2160a7c489372b7f2736ea Mon Sep 17 00:00:00 2001 From: Nabeel Shahzad Date: Wed, 13 Dec 2017 17:42:18 -0600 Subject: [PATCH] copy fix --- .travis/deploy_script.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis/deploy_script.sh b/.travis/deploy_script.sh index 9b24958a..db3fb2f6 100755 --- a/.travis/deploy_script.sh +++ b/.travis/deploy_script.sh @@ -16,7 +16,7 @@ if [ "$TRAVIS" = "true" ]; then # tar and upload mkdir -p /tmp/out/phpvms - cp -R $TRAVIS_BUILD_DIR/ /tmp/out/phpvms + cp -a $TRAVIS_BUILD_DIR/. /tmp/out/phpvms tar -czf $PKG_NAME.tar.gz -C /tmp/out/ rsync -r --delete-after --quiet $PKG_NAME.tar.gz downloads@phpvms.net:/var/www/downloads/ rm -rf /tmp/out