diff options
| author | Thibaut HOREL <horel@cypres.rocq.inria.fr> | 2012-12-10 12:17:16 +0100 |
|---|---|---|
| committer | Thibaut HOREL <horel@cypres.rocq.inria.fr> | 2012-12-10 12:17:16 +0100 |
| commit | 290bd0b7dfa61d3d0b88d6338c5b00b6e598c649 (patch) | |
| tree | a24c7a4a3df953916d8ab592dc0182e907a3c5fb /deploy.sh | |
| parent | 41035b62b00d3d0469e4247ffe79d68cf268831a (diff) | |
| download | dotfiles-290bd0b7dfa61d3d0b88d6338c5b00b6e598c649.tar.gz | |
Improve deploy script to make it compliant to old systems
Diffstat (limited to 'deploy.sh')
| -rwxr-xr-x | deploy.sh | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/deploy.sh b/deploy.sh deleted file mode 100755 index a934c19..0000000 --- a/deploy.sh +++ /dev/null @@ -1,13 +0,0 @@ -#! /bin/sh -DEPLOY_DIR=$HOME/ #don't forget the trailing slash -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.sh" ! -path "./README") -do - rm -f $DEPLOY_DIR$file - ln -s -r $file $DEPLOY_DIR$(dirname $file) -done - |
