mkrootfs: remove std{err,out} redirs to see cmd output.
This commit is contained in:
parent
e20cebf5c9
commit
adc326d0d4
|
@ -61,13 +61,13 @@ umount_pseudofs() {
|
||||||
|
|
||||||
run_cmd_target() {
|
run_cmd_target() {
|
||||||
info_msg "Running $@ for target $_ARCH ..."
|
info_msg "Running $@ for target $_ARCH ..."
|
||||||
eval XBPS_TARGET_ARCH=${_ARCH} "$@" >/dev/null 2>&1
|
eval XBPS_TARGET_ARCH=${_ARCH} "$@"
|
||||||
[ $? -ne 0 ] && die "Failed to run $@"
|
[ $? -ne 0 ] && die "Failed to run $@"
|
||||||
}
|
}
|
||||||
|
|
||||||
run_cmd() {
|
run_cmd() {
|
||||||
info_msg "Running $@ ..."
|
info_msg "Running $@ ..."
|
||||||
eval "$@" >/dev/null 2>&1
|
eval "$@"
|
||||||
[ $? -ne 0 ] && die "Failed to run $@"
|
[ $? -ne 0 ] && die "Failed to run $@"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue