[51711] contrib/mpab

febeling at macports.org febeling at macports.org
Mon Jun 1 01:24:25 PDT 2009


Revision: 51711
          http://trac.macports.org/changeset/51711
Author:   febeling at macports.org
Date:     2009-06-01 01:24:25 -0700 (Mon, 01 Jun 2009)
Log Message:
-----------
mpab-functions: use consistent function naming for chrootExec

Modified Paths:
--------------
    contrib/mpab/ChangeLog
    contrib/mpab/mpab-functions

Modified: contrib/mpab/ChangeLog
===================================================================
--- contrib/mpab/ChangeLog	2009-06-01 08:21:06 UTC (rev 51710)
+++ contrib/mpab/ChangeLog	2009-06-01 08:24:25 UTC (rev 51711)
@@ -3,7 +3,7 @@
 	* chroot-scripts/buildports (uninstallPorts): loop over `port list
 	active' instead of `port installed'
 
-	* mpab-functions: factor out function `chroot_exec' 
+	* mpab-functions: factor out function `chrootExec' 
 
 	* mpab-functions: add /Developer/Applications/Xcode.app to
 	pathsToCopy list

Modified: contrib/mpab/mpab-functions
===================================================================
--- contrib/mpab/mpab-functions	2009-06-01 08:21:06 UTC (rev 51710)
+++ contrib/mpab/mpab-functions	2009-06-01 08:24:25 UTC (rev 51711)
@@ -228,7 +228,7 @@
 
    if [[ ! -f ${chrootPath}/opt/local/bin/port ]]; then
 
-      chroot_exec installmacports
+      chrootExec installmacports
 
       sed 's/portarchivemode.*no/portarchivemode yes/' ${chrootPath}/opt/local/etc/macports/macports.conf > ${chrootPath}/opt/local/etc/macports/macports.conf.new
       mv ${chrootPath}/opt/local/etc/macports/macports.conf.new ${chrootPath}/opt/local/etc/macports/macports.conf
@@ -252,7 +252,7 @@
 
    cp -p ${baseDir}/chroot-scripts/genportlist.tcl ${chrootPath}/var/tmp/
 
-   chroot_exec buildports
+   chrootExec buildports
 
    return 0
 }
@@ -266,7 +266,7 @@
 
    cp -p ${baseDir}/chroot-scripts/chrootshell ${chrootPath}/var/tmp/
 
-   chroot_exec chrootshell
+   chrootExec chrootshell
 
    echo "Chroot shell exited"
 
@@ -370,7 +370,7 @@
 # Execute a script inside the chroot environment. Includes copying it
 # into a temp file and removing it afterwards
 # $1 - script to execute
-function chroot_exec () {
+function chrootExec () {
     cp -p ${baseDir}/chroot-scripts/$1 ${chrootPath}/var/tmp
     # Set DYLD_NO_FIX_PREBINDING as otherwise, on 10.5, dyld will spew
     # errors to syslog/console log like:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090601/2a81294a/attachment-0001.html>


More information about the macports-changes mailing list