.gitcheck: use subshells where appropriate

Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
Leah Rowe
2023-05-18 09:49:26 +01:00
parent dd8fb524df
commit c51225577b
+4 -2
View File
@@ -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
}