summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xdeploy4
1 files changed, 2 insertions, 2 deletions
diff --git a/deploy b/deploy
index db1c335..f6dc539 100755
--- a/deploy
+++ b/deploy
@@ -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