diff options
| author | Thibaut Horel <thibaut.horel@gmail.com> | 2012-12-11 09:29:04 +0100 |
|---|---|---|
| committer | Thibaut Horel <thibaut.horel@gmail.com> | 2012-12-11 09:29:04 +0100 |
| commit | 036653ca509975ccedf28c25273d6abc945ee6ff (patch) | |
| tree | 9e2a4088713ab944fbb2db9d1200bcf039321ab1 /deploy | |
| parent | 325a667bc5aa437cc072484b399654519967a7ec (diff) | |
| download | dotfiles-036653ca509975ccedf28c25273d6abc945ee6ff.tar.gz | |
Minnor fix to the deploy script
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 |
