summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-x.gitcheck6
1 files changed, 4 insertions, 2 deletions
diff --git a/.gitcheck b/.gitcheck
index 2973342c..d2868b63 100755
--- a/.gitcheck
+++ b/.gitcheck
@@ -29,9 +29,10 @@ set_placeholders()
if [ ! -d "${x}" ]; then
continue
fi
+ (
cd "${x}"
set_git_credentials
- cd -
+ )
done
}
@@ -57,9 +58,10 @@ clean()
if [ ! -d "${x}" ]; then
continue
fi
+ (
cd "${x}"
unset_placeholders
- cd -
+ )
done
}