[79900] contrib/mpab/mpsync.sh

jmr at macports.org jmr at macports.org
Tue Jun 28 23:21:25 PDT 2011


Revision: 79900
          http://trac.macports.org/changeset/79900
Author:   jmr at macports.org
Date:     2011-06-28 23:21:24 -0700 (Tue, 28 Jun 2011)
Log Message:
-----------
mpab: fix exclude rule

Modified Paths:
--------------
    contrib/mpab/mpsync.sh

Modified: contrib/mpab/mpsync.sh
===================================================================
--- contrib/mpab/mpsync.sh	2011-06-29 05:57:33 UTC (rev 79899)
+++ contrib/mpab/mpsync.sh	2011-06-29 06:21:24 UTC (rev 79900)
@@ -13,9 +13,11 @@
 if [[ -z "$PREFIX" ]]; then
    PREFIX=/opt/local
 fi
+export PREFIX
 if [[ -z "$SRC_PREFIX" ]]; then
    SRC_PREFIX=/opt/mports
 fi
+export SRC_PREFIX
 
 chrootPath="${dataDir}/${CHROOTSUBDIR}"
 OSMajor=`uname -r | sed 's/\..*//'`
@@ -56,7 +58,7 @@
     umount=yes
 fi
 
-rsync -av --del --exclude '*~' --exclude '.svn' --exclude '/PortIndex*' \
+rsync -av --del --exclude '*~' --exclude '.svn' --exclude '/dports/PortIndex*' \
     ${dataDir}/${exportDir}/ \
     ${chrootPath}${SRC_PREFIX} || exit 1
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110628/65f7e9cb/attachment-0001.html>


More information about the macports-changes mailing list