summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Auty <ikelos@gentoo.org>2008-11-27 23:45:49 +0000
committerMike Auty <ikelos@gentoo.org>2008-11-27 23:45:49 +0000
commit6202e3540dda85d099c9611d0546ed03ee134a79 (patch)
tree139b1945bcbee8f35256b0c1b61b0e85fd1415b4 /app-emulation/vmware-workstation/files
parentVersion bump. (diff)
downloadgentoo-2-6202e3540dda85d099c9611d0546ed03ee134a79.tar.gz
gentoo-2-6202e3540dda85d099c9611d0546ed03ee134a79.tar.bz2
gentoo-2-6202e3540dda85d099c9611d0546ed03ee134a79.zip
Fix up vmware-config.sh helper (bug 246854).
(Portage version: 2.2_rc16/cvs/Linux 2.6.27-gentoo-r4 i686)
Diffstat (limited to 'app-emulation/vmware-workstation/files')
-rwxr-xr-xapp-emulation/vmware-workstation/files/helpers/vmware-config.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/app-emulation/vmware-workstation/files/helpers/vmware-config.sh b/app-emulation/vmware-workstation/files/helpers/vmware-config.sh
index d97a542d5ec1..4895502ac2b7 100755
--- a/app-emulation/vmware-workstation/files/helpers/vmware-config.sh
+++ b/app-emulation/vmware-workstation/files/helpers/vmware-config.sh
@@ -4,8 +4,8 @@ CONFIG_FILE="${D}/etc/vmware/config"
remove_key() {
local key=${1}
- grep -v "${key} =" ${CONFIG_FILE}
- grep -v "${key} =" ${CONFIG_FILE} > ${CONFIG_FILE}.tmp
+ grep -v "^${key} =" ${CONFIG_FILE}
+ grep -v "^${key} =" ${CONFIG_FILE} > ${CONFIG_FILE}.tmp
mv ${CONFIG_FILE}.tmp ${CONFIG_FILE}
}