Commits

William Giokas committed e5074af

Don't mess with pkgver in logfile

It could change after building a vcs package, and it's just wasteful to
source a pkgbuild twice.

Comments (0)

Files changed (1)

 log_status() { # Write log lines {{{
   case $_status in
     0)
-      echo "  $(getlogdate)Package built:         $subdir/$pkgname $_fullpkgver-$_buildarch" >> "$LOGFILE"
+      echo "  $(getlogdate)Package built:         $subdir/$pkgname" >> "$LOGFILE"
       ;;
     1)
       makepkg -eoc
-      echo "  $(getlogdate)ERROR: build failure:  $subdir/$pkgname $_fullpkgver-$_buildarch" >> "$LOGFILE"
+      echo "  $(getlogdate)ERROR: build failure:  $subdir/$pkgname" >> "$LOGFILE"
       ;;
     2)
       (( _cleanup )) && makepkg -eoc
-      echo "  $(getlogdate)Package already built: $subdir/$pkgname $_fullpkgver-$_buildarch" >> "$LOGFILE"
+      echo "  $(getlogdate)Package already built: $subdir/$pkgname" >> "$LOGFILE"
       ;;
     *)
       makepkg -eoc
-      echo "  $(getlogdate)Unknown error:         $subdir/$pkgname $_fullpkgver-$_buildarch" >> "$LOGFILE"
+      echo "  $(getlogdate)Unknown error:         $subdir/$pkgname" >> "$LOGFILE"
   esac
 } #}}}