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
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')
-rw-r--r--app-emulation/vmware-workstation/ChangeLog5
-rwxr-xr-xapp-emulation/vmware-workstation/files/helpers/vmware-config.sh4
2 files changed, 6 insertions, 3 deletions
diff --git a/app-emulation/vmware-workstation/ChangeLog b/app-emulation/vmware-workstation/ChangeLog
index 40b47d64c961..c4e3e0ec2fcf 100644
--- a/app-emulation/vmware-workstation/ChangeLog
+++ b/app-emulation/vmware-workstation/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for app-emulation/vmware-workstation
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/vmware-workstation/ChangeLog,v 1.187 2008/11/17 11:18:20 ikelos Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/vmware-workstation/ChangeLog,v 1.188 2008/11/27 23:45:49 ikelos Exp $
+
+ 27 Nov 2008; Mike Auty <ikelos@gentoo.org> files/helpers/vmware-config.sh:
+ Fix up vmware-config.sh helper (bug 246854).
17 Nov 2008; Mike Auty <ikelos@gentoo.org>
vmware-workstation-6.5.0.118166.ebuild:
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}
}