summaryrefslogtreecommitdiff
path: root/bin/clean
diff options
context:
space:
mode:
Diffstat (limited to 'bin/clean')
-rwxr-xr-xbin/clean2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/clean b/bin/clean
index f2bb7e4..19a0455 100755
--- a/bin/clean
+++ b/bin/clean
@@ -1,5 +1,5 @@
#! /bin/bash
-dotdir=/home/urbain/dotfiles
+dotdir=/home/urbain/dotfiles && cd $dotdir
for file in `ls -A --ignore="Makefile" --ignore="README.md" --ignore=".git*"`; do
if [[ -f $file/Makefile ]]; then
cd $file && make clean && cd $dotdir