diff options
Diffstat (limited to 'deploy')
| -rwxr-xr-x | deploy | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -4,8 +4,8 @@ OIFS="$IFS" IFS=$'\n' cd $(dirname $0) -find -type d ! \( -path "*.git" -prune \) -print0 | xargs -0 -I '{}' mkdir -p $DEPLOY_DIR{} -for file in $(find ! \( -path "*.git" -prune \) -type f ! -path "./deploy" ! -path "./README") +find -type d ! \( -type d -path "*.git" -prune \) -print0 | xargs -0 -I '{}' mkdir -p $DEPLOY_DIR{} +for file in $(find ! \( -type d -path "*.git" -prune \) -type f ! -path "./deploy" ! -path "./README") do ln -snf $PWD/$file $DEPLOY_DIR$(dirname $file) done |
