diff --git a/.travis/deploy_script.sh b/.travis/deploy_script.sh index 4e8cf42c..26dae889 100755 --- a/.travis/deploy_script.sh +++ b/.travis/deploy_script.sh @@ -29,8 +29,8 @@ if [ "$TRAVIS" = "true" ]; then find ./vendor -type d -name ".git" -print0 | xargs rm -rf # clear any app specific stuff that might have been loaded in - find storage/app/public -mindepth 1 -not -name '.gitignore' -print0 | xargs -0 rm -rf - find storage/app -mindepth 1 -not -name '.gitignore' -not -name public -print0 | xargs -0 rm -rf + find storage/app/public -mindepth 1 -not -name '.gitignore' -print0 -exec rm -rf {} + + find storage/app -mindepth 1 -not -name '.gitignore' -not -name public -print0 -exec rm -rf {} + # Remove any development files rm -rf .sass-cache