.gitcheck: use subshells where appropriate
Signed-off-by: Leah Rowe <leah@libreboot.org>fsdg20230625
parent
dd8fb524df
commit
c51225577b
|
@ -29,9 +29,10 @@ set_placeholders()
|
||||||
if [ ! -d "${x}" ]; then
|
if [ ! -d "${x}" ]; then
|
||||||
continue
|
continue
|
||||||
fi
|
fi
|
||||||
|
(
|
||||||
cd "${x}"
|
cd "${x}"
|
||||||
set_git_credentials
|
set_git_credentials
|
||||||
cd -
|
)
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -57,9 +58,10 @@ clean()
|
||||||
if [ ! -d "${x}" ]; then
|
if [ ! -d "${x}" ]; then
|
||||||
continue
|
continue
|
||||||
fi
|
fi
|
||||||
|
(
|
||||||
cd "${x}"
|
cd "${x}"
|
||||||
unset_placeholders
|
unset_placeholders
|
||||||
cd -
|
)
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue