Changeset 13061 in hybrid for branches/releng-10/nanobsd


Ignore:
Timestamp:
Jan 21, 2015, 8:51:12 AM (10 years ago)
Author:
rick
Message:

I am puzzeled, the usual 2>&1 redirecting does not seems to apply when emitted
from a makefile. The alternative avoids cluttering the output with warnings
which are a nicer fit within the relevant logfile.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/releng-10/nanobsd/tools/package-build.sh

    r13059 r13061  
    6969  PKGBUILDLOG=/tmp/build.$$.`basename $PACKAGE`.log
    7070  p_info Packaging $PACKAGE ... details at $PKGBUILDLOG
    71   ${MAKE} PACKAGES=/root/nanobsd/pkg package do-package 2>&1 >$PKGBUILDLOG
     71  ${MAKE} PACKAGES=/root/nanobsd/pkg package do-package 1>>$PKGBUILDLOG 2>>$PKGBUILDLOG
    7272  if [ $? -ne 0 ]; then
    7373    p_err "Failed to create $PKGNAME"
Note: See TracChangeset for help on using the changeset viewer.