remove commented out bits in favor of calling add_repo_file()
@@ -180,29 +180,6 @@ foreach my $distro (@distros) {
my $isSrcRepo=0;
add_repo_file("$tmp_dir/OpenHPC.local.repo",$micro,$base_release,$release,$distro,$isSrcRepo);
-### my $repoFile="$tmp_dir/OpenHPC.local.repo";
-###
-### print "Adding [base] repofile contents -> $repoFile\n";
-###
-### File::Copy::copy("repo.base.in","$repoFile") || die "Unable to copy repo.base.in\n";
-### if($micro) {
-### print "Appending [update] repo\n";
-### open (BASE, ">>","$repoFile") || die "Unable to append to repo file\n";
-### open (UPDATE,"<","repo.update.in") || die "Unable to access repo.update.in\n";
-### print BASE <UPDATE>;
-### close BASE;
-### close UPDATE;
-### }
-###
- # Update version strings in .repo file
-
-### my $file_update = path($repoFile);
-### my $contents = $file_update->slurp_utf8;
-### $contents =~ s/\@VERSION_MINOR\@/$base_release/g;
-### $contents =~ s/\@VERSION_MICRO\@/$release/g;
-### $contents =~ s/\@DISTRO\@/$distro/g;
-### $file_update->spew_utf8( $contents );
-
# Copy make_repo.sh utility
print "Adding make_repo.sh utility\n";
File::Copy::copy("make_repo.sh","$tmp_dir") || die "Unable to copy make_repo.sh\n";
