]> git.openfabrics.org - ~vlad/ofed_scripts.git/commitdiff
correct install.pl handling of select menu
authorJay Sternberg <jay.e.sternberg@intel.com>
Fri, 17 Feb 2017 18:00:17 +0000 (10:00 -0800)
committerVladimir Sokolovsky <vlad@mellanox.com>
Tue, 21 Feb 2017 13:06:00 +0000 (15:06 +0200)
The select menu removed handling of HPC option but the values
checked to determine what action to take where not updated.
This fixes the issue of not being able to select a custom
configuration.

Signed-off-by: Jay Sternberg <jay.e.sternberg@intel.com>
Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.com>
install.pl

index 5945359731eb510728ccbdd2b2ebe4976305d973..c5bdce7b31aae8b15fcc2ac504741b2b4cf4639e 100755 (executable)
@@ -51,9 +51,8 @@ my $KEY_CNTL_C=3;
 my $KEY_ENTER=13;
 
 my $BASIC = 1;
-my $HPC = 2;
-my $ALL = 3;
-my $CUSTOM = 4;
+my $ALL = 2;
+my $CUSTOM = 3;
 
 my $interactive = 1;
 my $quiet = 0;
@@ -1414,7 +1413,7 @@ sub show_menu
     elsif ($menu eq "select") {
         print "$PACKAGE Distribution Software Installation Menu\n\n";
         print "   1) Basic ($PACKAGE modules and basic user level libraries)\n";
-        print "   2) All packages (all of Basic, HPC)\n";
+        print "   2) All packages\n";
         print "   3) Customize\n";
         print "\n   Q) Exit\n";
         $max_inp=3;