Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Dec 2012 14:01:41 +0000 (UTC)
From:      Ulrich Spoerlein <uqs@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-user@freebsd.org
Subject:   svn commit: r244083 - user/uqs/git_conv
Message-ID:  <201212101401.qBAE1fAw027621@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: uqs
Date: Mon Dec 10 14:01:41 2012
New Revision: 244083
URL: http://svnweb.freebsd.org/changeset/base/244083

Log:
  Use the right script and provide more error context on error.

Modified:
  user/uqs/git_conv/git_conv_cron

Modified: user/uqs/git_conv/git_conv_cron
==============================================================================
--- user/uqs/git_conv/git_conv_cron	Mon Dec 10 13:08:14 2012	(r244082)
+++ user/uqs/git_conv/git_conv_cron	Mon Dec 10 14:01:41 2012	(r244083)
@@ -7,11 +7,11 @@ cd /home/git
 
 # TODO cleanup old logs
 
-git_conv >> $log 2>&1
+./git_conv >> $log 2>&1
 
 if [ $? != 0 ]; then
     echo "Error during git_conv" >&2
-    tail $log
+    tail -30 $log
     exit 1
 fi
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201212101401.qBAE1fAw027621>