diff options
author | Leah Rowe <leah@libreboot.org> | 2023-05-18 09:49:26 +0100 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2023-05-18 09:49:26 +0100 |
commit | c51225577b077401de0b5e79d8b288019e5bb44d (patch) | |
tree | c8745f57c8660360d6e207356a9471bdf8ce7ac8 /.gitcheck | |
parent | dd8fb524df765dc000991b19d18bd2dec44a9d5e (diff) |
.gitcheck: use subshells where appropriate
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to '.gitcheck')
-rwxr-xr-x | .gitcheck | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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 } |