[Bug 587132] New: baseUpdateSysConfig does not work for /
http://bugzilla.novell.com/show_bug.cgi?id=587132 http://bugzilla.novell.com/show_bug.cgi?id=587132#c0 Summary: baseUpdateSysConfig does not work for / Classification: openSUSE Product: openSUSE 11.3 Version: Factory Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Live Medium AssignedTo: ms@novell.com ReportedBy: coolo@novell.com QAContact: qa@suse.de Found By: --- Blocker: --- I tried to set TIMEZONE to America/New_York and this fails with sed errors. The $VAL needs to be escaped I guess -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=587132 http://bugzilla.novell.com/show_bug.cgi?id=587132#c Marcus Schaefer <ms@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Summary|baseUpdateSysConfig does |kiwi: baseUpdateSysConfig |not work for / |does not work for / -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=587132 http://bugzilla.novell.com/show_bug.cgi?id=587132#c1 Marcus Schaefer <ms@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #1 from Marcus Schaefer <ms@novell.com> 2010-03-11 11:30:35 UTC --- fixed #====================================== # baseSysConfig #-------------------------------------- function baseUpdateSysConfig { # /.../ # Update sysconfig variable contents # ---- local FILE=$1 local VAR=$2 local VAL=$3 local args=$(echo "s'@^\($VAR=\).*\$@\1\\\"$VAL\\\"@'") eval sed -i $args $FILE } -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com