mirror of
https://github.com/sbopkg/sbopkg
synced 2024-12-28 09:58:58 +01:00
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:
parent
d3a02809ea
commit
df07ea151f
2 changed files with 3 additions and 1 deletions
|
@ -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.
|
||||
+--------------------------+
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue