summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThibaut Horel <thibaut.horel@gmail.com>2012-12-11 09:29:04 +0100
committerThibaut Horel <thibaut.horel@gmail.com>2012-12-11 09:29:04 +0100
commit036653ca509975ccedf28c25273d6abc945ee6ff (patch)
tree9e2a4088713ab944fbb2db9d1200bcf039321ab1
parent325a667bc5aa437cc072484b399654519967a7ec (diff)
downloaddotfiles-036653ca509975ccedf28c25273d6abc945ee6ff.tar.gz
Minnor fix to the deploy script
-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