svn commit: r244083 - user/uqs/git_conv

Ulrich Spoerlein uqs at FreeBSD.org
Mon Dec 10 14:01:41 UTC 2012


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
 


More information about the svn-src-user mailing list