mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-15 17:58:46 +02:00
init.sh: tidy up xbmk_child_exec()
make the command style more consistent, for example relying on x_ inside a subshell to print the command and arguments if a command failed. this is a good style, and i'll probably use it in other places on lbmk. Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
+2
-2
@@ -204,8 +204,8 @@ xbmk_child_exec()
|
|||||||
{
|
{
|
||||||
xbmk_rval=0
|
xbmk_rval=0
|
||||||
( x_ ./mk "$@" ) || xbmk_rval=1
|
( x_ ./mk "$@" ) || xbmk_rval=1
|
||||||
rm -Rf "$xbmklocal" "$xbmktmp" || xbmk_rval=1
|
( x_ rm -Rf "$xbmklocal" "$xbmktmp" ) || xbmk_rval=1
|
||||||
rm -f lock || xbmk_rval=1
|
( x_ rm -f lock ) || xbmk_rval=1
|
||||||
exit $xbmk_rval
|
exit $xbmk_rval
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user