From 6202e3540dda85d099c9611d0546ed03ee134a79 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Thu, 27 Nov 2008 23:45:49 +0000 Subject: Fix up vmware-config.sh helper (bug 246854). (Portage version: 2.2_rc16/cvs/Linux 2.6.27-gentoo-r4 i686) --- app-emulation/vmware-workstation/ChangeLog | 5 ++++- app-emulation/vmware-workstation/files/helpers/vmware-config.sh | 4 ++-- 2 files changed, 6 insertions(+), 3 deletions(-) (limited to 'app-emulation/vmware-workstation') 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 files/helpers/vmware-config.sh: + Fix up vmware-config.sh helper (bug 246854). 17 Nov 2008; Mike Auty 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} } -- cgit v1.2.3-65-gdbad