Skip to content
This repository has been archived by the owner on Nov 8, 2022. It is now read-only.

Commit

Permalink
Merge pull request #1290 from nanliu/rm-release
Browse files Browse the repository at this point in the history
(maint) fix find flag for linux pre_release
  • Loading branch information
nanliu authored Oct 18, 2016
2 parents 4ce7e78 + ea03a4e commit d9b23fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/pre_deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ if [ -z "$TRAVIS_TAG" ]; then
_info "copying plugin binaries to ${latest_path}"
cp -rp "${build_path}/"* "${latest_path}"

find "${s3_path}" -type directory -name 'plugins' -exec sh -c 'mv $1/* $1/..' _ {} \; -delete
find "${s3_path}" -type d -name 'plugins' -exec sh -c 'mv $1/* $1/..' _ {} \; -delete
else
set -u
tag_path="${s3_path}/${TRAVIS_TAG}"
Expand All @@ -62,7 +62,7 @@ else
_info "copying plugin binaries to ${latest_path}"
cp -rp "${build_path}/"* "${latest_path}"

find "${s3_path}" -type directory -name 'plugins' -exec sh -c 'mv $1/* $1/..' _ {} \; -delete
find "${s3_path}" -type d -name 'plugins' -exec sh -c 'mv $1/* $1/..' _ {} \; -delete
fi

_debug "$(find "${build_path}")"
Expand Down

0 comments on commit d9b23fa

Please sign in to comment.