From 0a6d282289bcdd273ba185d99dafac9a40d1103e Mon Sep 17 00:00:00 2001 From: "chess.griffin" Date: Sat, 16 May 2009 04:26:32 +0000 Subject: [PATCH] tweak the output of the summary log --- src/usr/sbin/sbopkg | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/usr/sbin/sbopkg b/src/usr/sbin/sbopkg index 156cd36..50ca782 100755 --- a/src/usr/sbin/sbopkg +++ b/src/usr/sbin/sbopkg @@ -2797,14 +2797,13 @@ process_queue() { build_package $PKGPATH $PKGBUILD 2>&1 | tee $TMPBUILDLOG || break echo "Done building package for $PKG." - NEWPACKAGE=$(ls -1t $SB_OUTPUT/*.t?z | head -n1) + cd $SB_OUTPUT + NEWPACKAGE=$(ls -1t *.t?z | head -n1) echo "Package $COUNTER: $PKG" >> $TMPSUMMARYLOG - #echo "$PKG:" >> $TMPSUMMARYLOG echo "Built package: $NEWPACKAGE" >> $TMPSUMMARYLOG echo "Built package: $NEWPACKAGE" if [[ $QUEUETYPE == "buildinstall" ]]; then if [[ $SB_OUTPUT/*.t?z ]]; then - #install_package $SB_OUTPUT *.t?z cd $SB_OUTPUT NEWPACKAGE=$(ls -1t *.t?z | head -n1) install_package $SB_OUTPUT $NEWPACKAGE