diff options
Diffstat (limited to 'buildconfigs/enable-xen-config')
-rw-r--r-- | buildconfigs/enable-xen-config | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/buildconfigs/enable-xen-config b/buildconfigs/enable-xen-config index 9d15648a60..a4dc5362c2 100644 --- a/buildconfigs/enable-xen-config +++ b/buildconfigs/enable-xen-config @@ -15,7 +15,7 @@ setopt() 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 |