Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
vecs
FIJI Public
Commits
4f169c5f
Commit
4f169c5f
authored
Apr 06, 2016
by
Stefan Tauner
Browse files
FIJI settings: quote all nets unconditionally
parent
32de0019
Changes
1
Hide whitespace changes
Inline
Side-by-side
bin/FIJI/Settings.pm
View file @
4f169c5f
...
...
@@ -111,9 +111,8 @@ sub _export_value {
}
elsif
(
$map_ref
->
{
$k
}
->
{'
type
'}
eq
'
net
')
{
# Due to an annoying behavior of Config::Simple we have to enclose
# escaped identifiers with quotes. These are necessary to preserve spaces.
if
(
substr
(
$orig
,
-
1
)
eq
'
')
{
$
{
$v_ref
}
=
"
\"
$orig
\"
";
}
# This also helps with concatenations... so simply quote all nets unconditionally.
$
{
$v_ref
}
=
"
\"
$orig
\"
";
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment