summaryrefslogtreecommitdiffstats
path: root/redhat/genrpm.sh
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/genrpm.sh')
-rwxr-xr-xredhat/genrpm.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/redhat/genrpm.sh b/redhat/genrpm.sh
index 1a57dd898..4fca9b93e 100755
--- a/redhat/genrpm.sh
+++ b/redhat/genrpm.sh
@@ -21,7 +21,7 @@ EOF
exit 1
fi
-select COMP in $( cut -f1 "components.txt" ) ; do
+select COMP in $( cut -f1 "components.txt" | grep -v "^#" ) ; do
# Gets package version from 'components.txt' file
VERSION=$( awk '{ if ($1 == "'${COMP}'") { print $2; } }' components.txt )