[92908] contrib/buildbot/deploy_archives.sh

jmr at macports.org jmr at macports.org
Thu May 10 08:31:43 PDT 2012


Revision: 92908
          https://trac.macports.org/changeset/92908
Author:   jmr at macports.org
Date:     2012-05-10 08:31:43 -0700 (Thu, 10 May 2012)
Log Message:
-----------
buildbot: avoid hitting ARG_MAX in deploy_archives.sh

Modified Paths:
--------------
    contrib/buildbot/deploy_archives.sh

Modified: contrib/buildbot/deploy_archives.sh
===================================================================
--- contrib/buildbot/deploy_archives.sh	2012-05-10 15:08:35 UTC (rev 92907)
+++ contrib/buildbot/deploy_archives.sh	2012-05-10 15:31:43 UTC (rev 92908)
@@ -25,7 +25,7 @@
     exit 1
 fi
 
-if ls ${ULPATH}/*/* > /dev/null 2>&1 ; then
+if [[ -n "`ls ${ULPATH}`" ]]; then
     for archive in ${ULPATH}/*/*; do
         portname=$(basename $(dirname $archive))
         aname=$(basename $archive)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120510/86f9e34c/attachment.html>


More information about the macports-changes mailing list