fix setopt in buildconfigs/enable-xen-config
PATCH 1/1 fix setopt in buildconfigs/enable-xen-config
Regards,
Alex Zeffertt
Fix setopt in case where option is already set but to the wrong value
Signed-off-by Alex Zeffertt <[email protected]>
buildconfigs/enable-xen-config +1 -1
@@ -15,7 +15,7 @@ VALUE=$2 # First remove any existing instances of this option - sed -e "s/^# ${OPTION} is not set$//g ; s/^^{OPTION}=.$//g" -i "${CONFIG}" + sed -e "s/^# ${OPTION} is not set$//g ; s/^${OPTION}=.*$//g" -i "${CONFIG}" # Then append the new value case ${VALUE} in
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel