mrconfig |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit b71ebb73faeca2d36efa381ecda12a97df68646a
Author: David Nusinow <[email protected]>
Date:   Tue Sep 1 19:44:11 2009 -0400

    Fix thinko with greater than redirection. Yay shell.

diff --git a/mrconfig b/mrconfig
index 810b4e1..bea5dad 100644
--- a/mrconfig
+++ b/mrconfig
@@ -68,7 +68,7 @@ git_needsupload = if [ $@ ]; then
   TAGNAME=`git describe --abbrev=0 "$BRANCH"`
   DESCRIPTION=`git describe "$BRANCH"`
   COMMITDIFF=`echo "$DESCRIPTION" | sed -e "s/$TAGNAME//" -e 's/^-//' | sed -e 
's/-.*//'`
-  if [ "$COMMITDIFF" > 0 ]; then
+  if [[ "$COMMITDIFF" > '0' ]]; then
     echo "`basename $MR_REPO` has $COMMITDIFF commits since the last upload" 
>> $HOME/mr_needsupload.log
   fi
 


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to