mirror of
https://github.com/t-crest/rtems.git
synced 2025-12-05 15:15:48 +00:00
Log the script command lines.
This commit is contained in:
@@ -88,11 +88,13 @@ echo "$command_line" > $log
|
|||||||
|
|
||||||
scripts=$(dirname $0)
|
scripts=$(dirname $0)
|
||||||
|
|
||||||
|
echo "$scripts/build-rpms.sh -i $debug $no_run $prefix $source $targets $hosts $version" >> $log
|
||||||
$scripts/build-rpms.sh -i $debug $no_run $prefix $source $targets $hosts $version 2>&1 | tee -a $log
|
$scripts/build-rpms.sh -i $debug $no_run $prefix $source $targets $hosts $version 2>&1 | tee -a $log
|
||||||
if [ ${PIPESTATUS[0]} -ne 0 ]; then
|
if [ ${PIPESTATUS[0]} -ne 0 ]; then
|
||||||
terminate "Making the RPM files."
|
terminate "Making the RPM files."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
echo "$scripts/build-exes.sh $debug $no_run $prefix $targets $relocation" >> $log
|
||||||
$scripts/build-exes.sh $debug $no_run $prefix $targets $relocation 2>&1 | tee -a $log
|
$scripts/build-exes.sh $debug $no_run $prefix $targets $relocation 2>&1 | tee -a $log
|
||||||
if [ ${PIPESTATUS[0]} -ne 0 ]; then
|
if [ ${PIPESTATUS[0]} -ne 0 ]; then
|
||||||
terminate "Making the executable files."
|
terminate "Making the executable files."
|
||||||
|
|||||||
Reference in New Issue
Block a user