Skip to content

Commit a72b2fd

Browse files
committed
include per package build logs in world builder
1 parent 99040bc commit a72b2fd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
AC_PREREQ(2.65)
22
AC_INIT([sgug-rpm-tools],
3-
[0.1.7],
3+
[0.1.8],
44
55

66
AC_SUBST(ACLOCAL_AMFLAGS, "-I macros")

src/sgug-rpm-tools/sgug_world_builder.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ int main(int argc, char**argv)
340340
worldrebuilderfile << "rpmbuildPackage () {" << endl;
341341
worldrebuilderfile << " packageName=$1" << endl;
342342
worldrebuilderfile << " cd ~/rpmbuild/SPECS" << endl;
343-
worldrebuilderfile << " rpmbuild -ba \"$packageName.spec\" --nocheck" << endl;
343+
worldrebuilderfile << " rpmbuild -ba \"$packageName.spec\" --nocheck 1>$build_progress_dir/$packageName.log 2>&1" << endl;
344344
worldrebuilderfile << " rpmrc=$?" << endl;
345345
worldrebuilderfile << " cd $ORIG_WD" << endl;
346346
worldrebuilderfile << " return $rpmrc" << endl;

0 commit comments

Comments
 (0)