From 4d9d216806b6863319a5a3e515b6428ba0a8841b Mon Sep 17 00:00:00 2001
From: david_williams <david_williams>
Date: Sat, 11 Apr 2009 01:16:50 +0000
Subject: [PATCH] utilities

---
 .../examplebinscripts/checkMirrors.sh          | 18 +++++++++++++-----
 1 file changed, 13 insertions(+), 5 deletions(-)

diff --git a/plugins/org.eclipse.wtp.releng.tools/examplebinscripts/checkMirrors.sh b/plugins/org.eclipse.wtp.releng.tools/examplebinscripts/checkMirrors.sh
index dff875dc6..61d69f29d 100644
--- a/plugins/org.eclipse.wtp.releng.tools/examplebinscripts/checkMirrors.sh
+++ b/plugins/org.eclipse.wtp.releng.tools/examplebinscripts/checkMirrors.sh
@@ -17,7 +17,7 @@ function usage() {
     printf "\n\tUsage: %s [-h] | [-v] [-f] [-p] [-t number] urls" $(basename $0) >&2
     printf "\n\t\t%s" "where h==help, v==verbose, f==only ftp mirrors, p==only http mirrors, t==test against 'number' " >&2
     printf "\n\t\t%s"    "and urls is space delimited list of URL parameters," >&2
-    printf "\n\t\t%s\n"  "such as /ganymede/releases/site.xml" >&2
+    printf "\n\t\t%s\n"  "such as /releases/galileo/" >&2
 }
 
 function checkMirrorsForURL() {
@@ -80,9 +80,9 @@ do
         ;;  
         t)    testNumber=$OPTARG
         ;;
-        ?)    usage
-        exit 2
-        ;;
+#        ?)    usage
+#        exit 2
+#        ;;
     esac
 done
 
@@ -110,6 +110,14 @@ then
  echo "urls: " $urls
 fi 
 
+if [ -z ${urls} ] 
+then
+
+urls="/releases/ganymede/ /releases/galileo/ /eclipse/updates/ /webtools/updates/ /webtools/milestones/"
+    
+fi
+    
+
 minimumMirrors=
 if [ "${urls}" ] 
 then 
@@ -147,4 +155,4 @@ else
      fi
    exit $fresult
  fi 
-fi
\ No newline at end of file
+fi
-- 
GitLab