Browse Source

This adds a test for unnecessary \s+$ for pulldown menu for uml options.

master
freesource 24 years ago
parent
commit
2dc142d3f0
  1. 2
      gbootroot

2
gbootroot

@ -1135,6 +1135,7 @@ sub uml_box {
$entry_advanced[9] = $eab2->entry->get_text(); $entry_advanced[9] = $eab2->entry->get_text();
open(OPTIONS,">$home_uml_kernel/.options"); open(OPTIONS,">$home_uml_kernel/.options");
$entry_advanced[9] =~ s/\n//g; $entry_advanced[9] =~ s/\n//g;
$entry_advanced[9] =~ s/\s+$//g;
print OPTIONS "$entry_advanced[9]\n"; print OPTIONS "$entry_advanced[9]\n";
foreach (@initial_options) { foreach (@initial_options) {
if ($_ ne "$entry_advanced[9]") { if ($_ ne "$entry_advanced[9]") {
@ -1148,6 +1149,7 @@ sub uml_box {
"" ); "" );
$eab2->show(); $eab2->show();
#_______________________________________ #_______________________________________
# Root Filesystem defaults to generated one if found. # Root Filesystem defaults to generated one if found.
label_advanced("Root_Fs:",0,1,2,3,$table_uml); label_advanced("Root_Fs:",0,1,2,3,$table_uml);

Loading…
Cancel
Save