hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ni...@apache.org
Subject svn commit: r614721 - in /hadoop/core/nightly: hudsonBuildHadoopPatch.sh hudsonPatchQueueAdmin.sh
Date Wed, 23 Jan 2008 22:50:35 GMT
Author: nigel
Date: Wed Jan 23 14:50:32 2008
New Revision: 614721

URL: http://svn.apache.org/viewvc?rev=614721&view=rev
Log:
fix patch queue html output

Modified:
    hadoop/core/nightly/hudsonBuildHadoopPatch.sh
    hadoop/core/nightly/hudsonPatchQueueAdmin.sh

Modified: hadoop/core/nightly/hudsonBuildHadoopPatch.sh
URL: http://svn.apache.org/viewvc/hadoop/core/nightly/hudsonBuildHadoopPatch.sh?rev=614721&r1=614720&r2=614721&view=diff
==============================================================================
--- hadoop/core/nightly/hudsonBuildHadoopPatch.sh (original)
+++ hadoop/core/nightly/hudsonBuildHadoopPatch.sh Wed Jan 23 14:50:32 2008
@@ -43,6 +43,7 @@
   else
     cd $WORKSPACE
     $SVN co http://svn.apache.org/repos/asf/hadoop/core/trunk
+    cd $WORKSPACE/trunk
   fi
   return $?
 }

Modified: hadoop/core/nightly/hudsonPatchQueueAdmin.sh
URL: http://svn.apache.org/viewvc/hadoop/core/nightly/hudsonPatchQueueAdmin.sh?rev=614721&r1=614720&r2=614721&view=diff
==============================================================================
--- hadoop/core/nightly/hudsonPatchQueueAdmin.sh (original)
+++ hadoop/core/nightly/hudsonPatchQueueAdmin.sh Wed Jan 23 14:50:32 2008
@@ -20,7 +20,7 @@
 ### look for the next one in the queue.
 if [[ $CURRENT_PATCH == "" ]] ; then
   cd $QUEUE_DIR
-  CURRENT_PATCH=`ls -1dtr ${PROJECT}* | head -1`
+  CURRENT_PATCH=`/bin/ls -1dtr ${PROJECT}* | head -1`
   ### If there is another patch in the queue, start testing it.
   if [[ $CURRENT_PATCH != "" ]] ; then
     rm -rf $CURRENT_DIR
@@ -35,11 +35,11 @@
   fi
 fi
 if [[ -z $CURRENT_PATCH_TIME ]] ; then
-  CURRENT_PATCH_TIME=`ls -dtl ${CURRENT_DIR}* | awk '{print $5" "$6" "$7" GMT"}'`
+  CURRENT_PATCH_TIME=`/bin/ls -dtl ${CURRENT_DIR}* | awk '{print $6" "$7" "$8" GMT"}'`
 fi
 
 cd $QUEUE_DIR
-QUEUE=`ls -1dtrl ${PROJECT}* | awk '{print "<tr><td><a href=\"http://issues.apache.org/jira/browse/"$8"\">"$8"</a></td><td>"$5"
"$6" "$7" GMT</td></tr>"}'`
+QUEUE=`/bin/ls -1dtrl ${PROJECT}* | awk '{print "<tr><td><a href=\"http://issues.apache.org/jira/browse/"$9"\">"$9"</a></td><td>"$6"
"$7" "$8" GMT</td></tr>"}'`
 if [[ $QUEUE == "" ]] ; then
   QUEUE="<tr><td>empty</td><td>-</td></tr>"
 fi



Mime
View raw message