[38657] trunk/dports/www/ajp-wsgi/Portfile

ryandesign at macports.org ryandesign at macports.org
Sun Jul 27 15:08:38 PDT 2008


Revision: 38657
          http://trac.macosforge.org/projects/macports/changeset/38657
Author:   ryandesign at macports.org
Date:     2008-07-27 15:08:38 -0700 (Sun, 27 Jul 2008)
Log Message:
-----------
ajp-wsgi: maintainer update to remove use of deprecated 'cd' command; closes #14678

Modified Paths:
--------------
    trunk/dports/www/ajp-wsgi/Portfile

Modified: trunk/dports/www/ajp-wsgi/Portfile
===================================================================
--- trunk/dports/www/ajp-wsgi/Portfile	2008-07-27 19:51:45 UTC (rev 38656)
+++ trunk/dports/www/ajp-wsgi/Portfile	2008-07-27 22:08:38 UTC (rev 38657)
@@ -26,11 +26,10 @@
 depends_lib      port:python24
 
 configure {
-   cd ${worksrcpath}
    if {[variant_isset python25]} {
-       system "${prefix}/bin/python2.5 configure.py"
+       system "cd ${worksrcpath} && ${prefix}/bin/python2.5 configure.py"
    } else {
-       system "${prefix}/bin/python configure.py"
+       system "cd ${worksrcpath} && ${prefix}/bin/python configure.py"
    }
 }
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080727/5d42a88e/attachment.html 


More information about the macports-changes mailing list