summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUrbain Vaes <urbain@vaes.uk>2015-09-16 17:03:13 +0100
committerUrbain Vaes <urbain@vaes.uk>2015-09-16 17:03:13 +0100
commit44ded2a676b8329210e5debdd3dfa9406adc2e8c (patch)
tree899bad909b98d4600ff999e40bfd502390e17d84
parentd6e8309d3ff75b3859f7311f71716385ac7fd415 (diff)
Swap names of install and clean
-rwxr-xr-xbin/clean4
-rwxr-xr-xbin/install4
2 files changed, 4 insertions, 4 deletions
diff --git a/bin/clean b/bin/clean
index eb69236..75eb89e 100755
--- a/bin/clean
+++ b/bin/clean
@@ -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