+ # on PLC there is a need to select the repos as there are quite a few in there
+ # would contain names or patterns relative to install-rpms
+ explicit_list=/var/www/html/install-rpms/PACKAGES
+
+ # use argv if provided
+ if [[ -n "$@" ]] ; then
+ repositories="$@"
+ cross_repositories="$@"
+ elif [ -f $explicit_list ] ; then
+ cross_repositories=""
+ for name in $(grep -v '#' $explicit_list); do
+ cross_repositories="$cross_repositories /var/www/html/install-rpms/$name"
+ done