mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-17 08:40:14 +02:00
.gitcheck: use subshells where appropriate
Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
@@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user