--- src/share/poudriere/common.sh.orig 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