[118239] trunk/dports/python/py-pyqt4/Portfile

ryandesign at macports.org ryandesign at macports.org
Wed Mar 26 17:49:57 PDT 2014


Revision: 118239
          https://trac.macports.org/changeset/118239
Author:   ryandesign at macports.org
Date:     2014-03-26 17:49:57 -0700 (Wed, 26 Mar 2014)
Log Message:
-----------
py-pyqt4: use system -W X "Y" instead of system "cd X && Y"

Modified Paths:
--------------
    trunk/dports/python/py-pyqt4/Portfile

Modified: trunk/dports/python/py-pyqt4/Portfile
===================================================================
--- trunk/dports/python/py-pyqt4/Portfile	2014-03-26 23:00:31 UTC (rev 118238)
+++ trunk/dports/python/py-pyqt4/Portfile	2014-03-27 00:49:57 UTC (rev 118239)
@@ -191,9 +191,9 @@
             # This file exists if Qt was installed non-universal.
             # Easiest just to check if it was created.
             if {[file exists ${worksrcpath}/designer/python.pro ]} {
-                system "cd ${worksrcpath}/designer && \
-                    ${qt_qmake_cmd} -spec ${qt_mkspecs_dir}/macx-g++ \
-                        -o Makefile python.pro"
+                system -W ${worksrcpath}/designer "${qt_qmake_cmd} \
+                    -spec ${qt_mkspecs_dir}/macx-g++ \
+                    -o Makefile python.pro"
             }
         }
     }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140326/2d9d1332/attachment.html>


More information about the macports-changes mailing list