[81791] users/pixilla/_tools/pear2port.sh

pixilla at macports.org pixilla at macports.org
Thu Aug 4 17:08:06 PDT 2011


Revision: 81791
          http://trac.macports.org/changeset/81791
Author:   pixilla at macports.org
Date:     2011-08-04 17:08:04 -0700 (Thu, 04 Aug 2011)
Log Message:
-----------
users/pixilla: Update pear2port.sh.

Modified Paths:
--------------
    users/pixilla/_tools/pear2port.sh

Modified: users/pixilla/_tools/pear2port.sh
===================================================================
--- users/pixilla/_tools/pear2port.sh	2011-08-04 23:41:15 UTC (rev 81790)
+++ users/pixilla/_tools/pear2port.sh	2011-08-05 00:08:04 UTC (rev 81791)
@@ -1,14 +1,15 @@
 #!/bin/bash
 
-[ -z $MAINTAINERS ] && MAINTAINERS="nomaintainer"
+[ ${MAINTAINERS+1} ] || MAINTAINERS="nomaintainer"
 extract_suffix='.tgz'
 package=${1}
 if [ "x${package}" == "x" ]
 then
     echo "Error: No package name given!"
-    echo "Try: \$ ${0} Auth"
-    echo "Or, for something other then the most recent version"
-    echo "Try: \$ ${0} Auth 0.3.1"
+    echo "Try something like:"
+    echo "  \$ MAINTAINERS=\"$(users) openmaintainer\" ${0} Auth"
+    echo "Or, for a version other than the most recent version"
+    echo "  \$ MAINTAINERS=\"$(users) openmaintainer\" ${0} Auth 0.3.1"
     exit 
 fi
 #echo "Package: ${package}"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110804/cc75f9dd/attachment.html>


More information about the macports-changes mailing list