[31823] trunk/base/portmgr/jobs/mprsyncup

jmpp at macports.org jmpp at macports.org
Sat Dec 8 18:12:15 PST 2007


Revision: 31823
          http://trac.macosforge.org/projects/macports/changeset/31823
Author:   jmpp at macports.org
Date:     2007-12-08 18:12:14 -0800 (Sat, 08 Dec 2007)

Log Message:
-----------

Don't provide a path for echo, so that we can use the built in.

Next improvement to this script should be proper error detection and reporting,
in case any of the svn or rsync or other commands fail, which we wouldn't catch
now if they do until the repos become horribly stale. New item for my TODO list!

Modified Paths:
--------------
    trunk/base/portmgr/jobs/mprsyncup

Modified: trunk/base/portmgr/jobs/mprsyncup
===================================================================
--- trunk/base/portmgr/jobs/mprsyncup	2007-12-09 01:37:35 UTC (rev 31822)
+++ trunk/base/portmgr/jobs/mprsyncup	2007-12-09 02:12:14 UTC (rev 31823)
@@ -1,5 +1,6 @@
 #!/bin/sh
 
+
 ####
 # Script to checkout/update base sources from both trunk (ToT) and the current
 # release tag (as determined by the base/config/RELEASE_URL file) and a ports
@@ -29,6 +30,7 @@
 # $Id$
 ####
 
+
 set -e
 
 # Commands we need:
@@ -36,7 +38,6 @@
 RSYNC="/usr/bin/rsync -q"
 RM="/bin/rm"
 MKDIR="/bin/mkdir"
-ECHO="/bin/echo"
 LN="/bin/ln"
 
 # Paths we'll work on:
@@ -67,7 +68,7 @@
 # Read what tag we're releasing from, switch to/checkout a copy, export and rsync it to ${RSYNCROOT}/release/base:
 read RELEASE_URL < ${TBASE}/${RELEASE_URL_FILE}
 if [ ! -n ${RELEASE_URL} ]; then
-    ${ECHO} "no RELEASE_URL specified in svn trunk, baling out"
+    echo "no RELEASE_URL specified in svn trunk, baling out!"
     exit 1
 fi
 if [ -d ${RBASE}/.svn ]; then

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20071208/0a63db51/attachment.html


More information about the macports-changes mailing list