diff options
author | Jacob Pipkin <j@dawnrazor.net> | 2012-06-01 15:28:20 -0500 |
---|---|---|
committer | Jacob Pipkin <j@dawnrazor.net> | 2012-06-01 15:28:20 -0500 |
commit | b8c32607eb188fcba6e440d0cf1c1afb2953e2c3 (patch) | |
tree | a13d7d072b5738dbd29cdd1c677d925bac03c6dd | |
parent | 7ea236520adc76684b7d6167d77226ed049cf5b6 (diff) | |
download | sbotools2-b8c32607eb188fcba6e440d0cf1c1afb2953e2c3.tar.xz |
fix bug where -c arg to sboupgrade did nothing
-rwxr-xr-x | sboupgrade | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -45,7 +45,7 @@ getopts ('hvacdfj:NriopR', \%options); show_usage () && exit (0) if exists $options{h}; show_version () && exit (0) if exists $options{v}; -my $noclean = exists $options{c} ? 'FALSE' : $config{NOCLEAN}; +my $noclean = exists $options{c} ? 'TRUE' : $config{NOCLEAN}; my $distclean = exists $options{d} ? 'TRUE' : $config{DISTCLEAN}; my $force = exists $options{f} ? 'TRUE' : 'FALSE'; my $install_new = exists $options{N} ? 'TRUE' : 'FALSE'; @@ -205,7 +205,7 @@ sub readme_prompt { my $opts = grok_options ($readme); print "\n". $readme if $opts eq "7"; close $readme_file; - $name = $compat32 eq 'TRUE' ? "$sbo-compat32" : $sbo; + my $name = $compat32 eq 'TRUE' ? "$sbo-compat32" : $sbo; print "\nProceed with $name? [y]: "; my $test = <STDIN>; $test = 'y' if $test eq "\n"; |