diff options
author | 2008-11-27 23:52:11 +0000 | |
---|---|---|
committer | 2008-11-27 23:52:11 +0000 | |
commit | 26dcf282ef7c4956cbeaabde1168ac7b191691a6 (patch) | |
tree | 94bc1bba4ceab34d596100832ad44136c3b93645 /app-emulation/vmware-player/files | |
parent | Stable for HPPA (bug #247523). (diff) | |
download | gentoo-2-26dcf282ef7c4956cbeaabde1168ac7b191691a6.tar.gz gentoo-2-26dcf282ef7c4956cbeaabde1168ac7b191691a6.tar.bz2 gentoo-2-26dcf282ef7c4956cbeaabde1168ac7b191691a6.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-player/files')
-rwxr-xr-x | app-emulation/vmware-player/files/helpers/vmware-config.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app-emulation/vmware-player/files/helpers/vmware-config.sh b/app-emulation/vmware-player/files/helpers/vmware-config.sh index d97a542d5ec1..4895502ac2b7 100755 --- a/app-emulation/vmware-player/files/helpers/vmware-config.sh +++ b/app-emulation/vmware-player/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} } |