Commit 626e21fc authored by Vitaly Lipatov's avatar Vitaly Lipatov

jmake, rpmbp, rpmck, rpmcs: add docmd for command logging

parent 60d1a0eb
...@@ -22,4 +22,4 @@ MAKEARG="-j$NPROCS" ...@@ -22,4 +22,4 @@ MAKEARG="-j$NPROCS"
#make $MAKEARG "CC=$CC" "CXX=$CXX" "CPP=$CPP" "CXXCPP=$CXXCPP" $@ #make $MAKEARG "CC=$CC" "CXX=$CXX" "CPP=$CPP" "CXXCPP=$CXXCPP" $@
cd_to_realcwd cd_to_realcwd
$NICE time -p make $MAKEARG "$@" docmd $NICE time -p make $MAKEARG "$@"
#!/bin/sh #!/bin/sh
# load common functions, compatible with local and installed script
. `dirname $0`/../share/eterbuild/functions/common
# workaround for last passed through options # workaround for last passed through options
case "$1" in case "$1" in
-*) -*)
...@@ -11,4 +14,4 @@ case "$1" in ...@@ -11,4 +14,4 @@ case "$1" in
;; ;;
esac esac
$(dirname $0)/rpmbph $FIRST -n "$@" docmd $(dirname $0)/rpmbph $FIRST -n "$@"
...@@ -44,6 +44,6 @@ prepare_aptconfig ...@@ -44,6 +44,6 @@ prepare_aptconfig
# add local repo # add local repo
#hsh-run --mount=/proc,/dev/pts $HASHERDIR /usr/lib/rpm/check-python3-provs-importable.sh "$@" #hsh-run --mount=/proc,/dev/pts $HASHERDIR /usr/lib/rpm/check-python3-provs-importable.sh "$@"
info "install $*" info "install $*"
$ETERBUILDBIN/loginhsh -i -t -b $BINARYREPO -q "$@" docmd $ETERBUILDBIN/loginhsh -i -t -b $BINARYREPO -q "$@"
info "run checking" info "run checking"
$ETERBUILDBIN/loginhsh -i -t -b $BINARYREPO -q -r "/usr/lib/rpm/check-python3-provs-importable.sh $@" docmd $ETERBUILDBIN/loginhsh -i -t -b $BINARYREPO -q -r "/usr/lib/rpm/check-python3-provs-importable.sh $@"
...@@ -221,7 +221,7 @@ do ...@@ -221,7 +221,7 @@ do
fi fi
echog "cleanup_spec for $i..." echog "cleanup_spec for $i..."
cleanup_spec $i docmd cleanup_spec $i
subst "s|^%configure2_5x|%configure|g" $i subst "s|^%configure2_5x|%configure|g" $i
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment