From 036653ca509975ccedf28c25273d6abc945ee6ff Mon Sep 17 00:00:00 2001 From: Thibaut Horel Date: Tue, 11 Dec 2012 09:29:04 +0100 Subject: Minnor fix to the deploy script --- deploy | 4 ++-- 1 file 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 -- cgit v1.2.3-70-g09d2