new script to take a domain name off of a fully qualified hostname.
[feisty_meow.git] / scripts / rev_control / getem.sh
index f493ddbaa0877680d94ddd7079612faf5bb3d9b8..488e931ccf318ed448951a4f2ceda146c4cd4e18 100644 (file)
@@ -2,6 +2,7 @@
 
 # gets any updates for the repository folders present in the REPOSITORY_LIST variable.
 
+source "$FEISTY_MEOW_SCRIPTS/core/functions.sh"
 source "$FEISTY_MEOW_SCRIPTS/rev_control/rev_control.sh"
 
 # trickery to ensure we can always update this file, even when the operating system has some
@@ -35,7 +36,7 @@ function do_update()
   elif [ -d ".svn" ]; then
     svn update .
   elif [ -d ".git" ]; then
-    git pull
+    git pull 2>&1 | grep -v "X11 forwarding request failed"
   else
     echo unknown repository for $directory...
   fi
@@ -71,6 +72,8 @@ export TMPO_CHK=$TMP/zz_chk.log
 
 rm -f "$TMPO_CHK"
 
+echo "Getting repositories at: $(date)"
+
 # perform the checkouts as appropriate per OS.
 if [ "$OS" != "Windows_NT" ]; then
   checkout_list $HOME 2>&1 | tee -a "$TMPO_CHK"
@@ -78,8 +81,6 @@ else
   checkout_list $HOME c:/ d:/ e:/ 2>&1 | tee -a "$TMPO_CHK"
 fi
 
-less $TMPO_CHK
-
 ##############
 
 # we now regenerate the scripts after getme, to ensure it's done automatically.