--- src/share/poudriere/common.sh 2013-08-03 10:47:22.000000000 -0700 +++ src/share/poudriere/common.sh 2013-09-04 00:48:58.000000000 -0700 @@ -2194,7 +2194,7 @@ fi if [ -z "${LISTPORTS}" ]; then [ -n "${LISTPKGS}" ] && - grep -h -v -E '(^[[:space:]]*#|^[[:space:]]*$)' ${LISTPKGS} + grep -h -v -E '(^[[:space:]]*#|^[[:space:]]*$)' ${LISTPKGS} | sed -e 's/[[:space:]]*#.*$//' else echo ${LISTPORTS} | tr ' ' '\n' fi --- src/share/poudriere/options.sh 2013-07-02 05:16:51.000000000 -0700 +++ src/share/poudriere/options.sh 2013-09-13 19:01:49.000000000 -0700 @@ -109,7 +109,7 @@ if [ $# -eq 0 ]; then [ -n "${BULK_LIST}" ] || err 1 "No packages specified" [ -f ${BULK_LIST} ] || err 1 "No such list of packages: ${BULK_LIST}" -LISTPORTS=`grep -v -E '(^[[:space:]]*#|^[[:space:]]*$)' ${BULK_LIST}` +LISTPORTS=`grep -v -E '(^[[:space:]]*#|^[[:space:]]*$)' ${BULK_LIST} | sed -e 's/[[:space:]]*#.*$//'` else [ -z "${BULK_LIST}" ] || err 1 "command line arguments and list of ports cannot be used at the same time"