port1.0/portutil.tcl:
There is no need to escape spaces for the exec command as it will be correctly
passed as one argument to dscl.

Reported on macports-dev:
http://lists.macosforge.org/pipermail/macports-dev/2009-April/008103.html

git-svn-id: https://svn.macports.org/repository/macports/branches/release_1_7/base@49014 d073be05-634f-4543-b044-5fe20cf6d1d6
This commit is contained in:
Rainer Müller
2009-04-01 23:42:45 +00:00
parent 72d36d2cf4
commit 8415e1f7cc
-2
View File
@@ -1934,7 +1934,6 @@ proc adduser {name args} {
foreach arg $args {
if {[regexp {([a-z]*)=(.*)} $arg match key val]} {
regsub -all " " ${val} "\\ " val
set $key $val
}
}
@@ -1966,7 +1965,6 @@ proc addgroup {name args} {
foreach arg $args {
if {[regexp {([a-z]*)=(.*)} $arg match key val]} {
regsub -all " " ${val} "\\ " val
set $key $val
}
}