fix an issue with the build options dialog menu where selecting 'None' would not work; thanks to happyslacker for the bug report.

This commit is contained in:
chess.griffin 2009-09-10 17:52:52 +00:00
parent d3a02809ea
commit df07ea151f
2 changed files with 3 additions and 1 deletions

View File

@ -9,4 +9,6 @@ enhancements:
* Add ":force" to sbopkg.conf WGETFLAGS --progress=bar to correctly
display the wget progress bar; thanks to happyslacker for nudging me on
this issue again.
* Fix an issue with the build options dialog menu where selecting 'None'
would not work; thanks to happyslacker for the bug report.
+--------------------------+

View File

@ -3303,7 +3303,7 @@ use_options() {
rm -f $OPTLIST $OPTCHOICE
return 1
else
if [[ $OPTCHOICE == "None" ]]; then
if [[ $(< $OPTCHOICE) == "None" ]]; then
rm -f $OPTLIST $OPTCHOICE
else
cp "$OPTCHOICE" $PKGPATH/options.build