[81633] contrib/mpab/chroot-scripts/buildports
jmr at macports.org
jmr at macports.org
Tue Aug 2 23:26:51 PDT 2011
Revision: 81633
http://trac.macports.org/changeset/81633
Author: jmr at macports.org
Date: 2011-08-02 23:26:51 -0700 (Tue, 02 Aug 2011)
Log Message:
-----------
mpab: fix skipping ports with failed dependencies
Modified Paths:
--------------
contrib/mpab/chroot-scripts/buildports
Modified: contrib/mpab/chroot-scripts/buildports
===================================================================
--- contrib/mpab/chroot-scripts/buildports 2011-08-03 06:20:54 UTC (rev 81632)
+++ contrib/mpab/chroot-scripts/buildports 2011-08-03 06:26:51 UTC (rev 81633)
@@ -104,9 +104,12 @@
portDeps=`${PREFIX}/bin/port info --depends --line ${portName} | /usr/bin/tr ',' ' '`
for oneDep in ${portDeps}; do
depType=`echo ${oneDep} | /usr/bin/awk -F : '{print $1}'`
- if [[ $depType == "port" && -f ${PORTRESULTSDIR}/fail/${oneDep}.log ]]; then
- skipPort=`echo ${oneDep} | /usr/bin/awk -F : '{print $2}'`
- break
+ if [[ $depType == "port" ]]; then
+ depName=`echo ${oneDep} | /usr/bin/awk -F : '{print $2}'`
+ if [[ -f ${PORTRESULTSDIR}/fail/${depName}.log ]]; then
+ skipPort=$depName
+ break
+ fi
fi
done
if [[ -z $skipPort ]]; then
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110802/2203100b/attachment-0001.html>
More information about the macports-changes
mailing list