diff options
-rwxr-xr-x | bin/clean | 4 | ||||
-rwxr-xr-x | bin/install | 4 |
2 files changed, 4 insertions, 4 deletions
@@ -2,8 +2,8 @@ dotdir=/home/urbain/dotfiles for file in `ls -A --ignore="install.sh" --ignore="README.md" --ignore=".git*"`; do if [[ -f $file/Makefile ]]; then - cd $file && make && cd $dotdir + cd $file && make clean && cd $dotdir else - rm -f $HOME/$file && ln -s $dotdir/$file $HOME/$file + rm -f $HOME/$file fi done diff --git a/bin/install b/bin/install index 75eb89e..eb69236 100755 --- a/bin/install +++ b/bin/install @@ -2,8 +2,8 @@ dotdir=/home/urbain/dotfiles for file in `ls -A --ignore="install.sh" --ignore="README.md" --ignore=".git*"`; do if [[ -f $file/Makefile ]]; then - cd $file && make clean && cd $dotdir + cd $file && make && cd $dotdir else - rm -f $HOME/$file + rm -f $HOME/$file && ln -s $dotdir/$file $HOME/$file fi done |