Created
March 19, 2021 16:27
-
-
Save bdrewery/863d60636cd93af0636f5f1feb879f24 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git src/share/poudriere/common.sh src/share/poudriere/common.sh | |
index c4d5673dd..96c431ee5 100644 | |
--- src/share/poudriere/common.sh | |
+++ src/share/poudriere/common.sh | |
@@ -6783,8 +6783,11 @@ _listed_ports() { | |
{ | |
# -f specified | |
if [ -z "${LISTPORTS}" ]; then | |
+ local _ignore_comments | |
+ | |
for file in ${LISTPKGS}; do | |
- while mapfile_read_loop "${file}" origin; do | |
+ while mapfile_read_loop "${file}" origin \ | |
+ _ignore_comments; do | |
# Skip blank lines and comments | |
[ -z "${origin%%#*}" ] && continue | |
# Remove excess slashes for mistakes |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment