Skip to content

Commit

Permalink
Merge pull request #152 from papperlapapp/bugfix/splitequal
Browse files Browse the repository at this point in the history
brix11: fix incorrect variable splitting
  • Loading branch information
jwillemsen committed Aug 31, 2023
2 parents 6b0e3e5 + 956c45f commit 075cd6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion brix11/lib/brix11/base.rb
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ def self.init_optparser
'Define an additional environment variable for BRIX11 commands.',
'Separate (optional) value by \'=\' like VAR=VAL. By default value will be \'1\'.',
'Supports \$VAR and \${VAR}-form variable expansion.') { |v|
_var, _val = v.split('=')
_var, _val = v.split('=', 2)
(options.user_config.user_environment ||= {})[_var] = _val || '1'
}
opts.on('-x', '--crossbuild',
Expand Down

0 comments on commit 075cd6a

Please sign in to comment.