Skip to content
Permalink
Browse files

py-pyqt4: use system -W X "Y" instead of system "cd X && Y"

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@118239 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
ryandesign committed Mar 27, 2014
1 parent 15ad0b8 commit 7055374c4d12591b3ff0ff8feabc3e1a45b08d49
Showing with 3 additions and 3 deletions.
  1. +3 −3 python/py-pyqt4/Portfile
@@ -191,9 +191,9 @@ if {${name} ne ${subport}} {
# 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"
}
}
}

0 comments on commit 7055374

Please sign in to comment.
You can’t perform that action at this time.