Gentoo Archives: gentoo-commits

From: "Mike Auty (ikelos)" <ikelos@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-emulation/vmware-workstation/files/helpers: vmware-config.sh
Date: Thu, 27 Nov 2008 23:45:52
Message-Id: E1L5qYP-0008Pt-ES@stork.gentoo.org
1 ikelos 08/11/27 23:45:49
2
3 Modified: vmware-config.sh
4 Log:
5 Fix up vmware-config.sh helper (bug 246854).
6 (Portage version: 2.2_rc16/cvs/Linux 2.6.27-gentoo-r4 i686)
7
8 Revision Changes Path
9 1.2 app-emulation/vmware-workstation/files/helpers/vmware-config.sh
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/vmware-workstation/files/helpers/vmware-config.sh?rev=1.2&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/vmware-workstation/files/helpers/vmware-config.sh?rev=1.2&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/vmware-workstation/files/helpers/vmware-config.sh?r1=1.1&r2=1.2
14
15 Index: vmware-config.sh
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/app-emulation/vmware-workstation/files/helpers/vmware-config.sh,v
18 retrieving revision 1.1
19 retrieving revision 1.2
20 diff -u -r1.1 -r1.2
21 --- vmware-config.sh 9 Nov 2008 20:57:25 -0000 1.1
22 +++ vmware-config.sh 27 Nov 2008 23:45:49 -0000 1.2
23 @@ -4,8 +4,8 @@
24
25 remove_key() {
26 local key=${1}
27 - grep -v "${key} =" ${CONFIG_FILE}
28 - grep -v "${key} =" ${CONFIG_FILE} > ${CONFIG_FILE}.tmp
29 + grep -v "^${key} =" ${CONFIG_FILE}
30 + grep -v "^${key} =" ${CONFIG_FILE} > ${CONFIG_FILE}.tmp
31 mv ${CONFIG_FILE}.tmp ${CONFIG_FILE}
32 }