git.samba.org
/
sfrench
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6d46e66
)
When parsing 'param = value', don't split 'value' at spaces.
author
Volker Lendecke
<vlendec@samba.org>
Sun, 14 Dec 2003 17:47:15 +0000
(17:47 +0000)
committer
Volker Lendecke
<vlendec@samba.org>
Sun, 14 Dec 2003 17:47:15 +0000
(17:47 +0000)
Thanks to Ralf Spenneberg for the fix.
Volker
examples/misc/modify_samba_config.pl
patch
|
blob
|
history
diff --git
a/examples/misc/modify_samba_config.pl
b/examples/misc/modify_samba_config.pl
index eb997f9b0c87097bfe0da35a3cecf8d3e136a591..ad958625d66481042819cf8412e46b47fec5f839 100755
(executable)
--- a/
examples/misc/modify_samba_config.pl
+++ b/
examples/misc/modify_samba_config.pl
@@
-66,7
+66,7
@@
while (<CONFIGFILE>) {
## check for a param = value
if ($_ =~ /=/) {
- ($param, $value) = split (/=/, $_);
+ ($param, $value) = split (/=/, $_
,2
);
$param =~ s/./\l$&/g;
$param =~ s/\s+//g;
$value =~ s/^\s+//;