From: Chris Gianelloni Date: Wed, 7 Mar 2007 21:04:56 +0000 (+0000) Subject: Change all instances of [ to [[. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=41adad73f7461f50ad106129fd0eb119edd7a774;p=gentoo.git Change all instances of [ to [[. Package-Manager: portage-2.1.2.1 --- diff --git a/app-emulation/vmware-workstation-tools/ChangeLog b/app-emulation/vmware-workstation-tools/ChangeLog index e7dd955db58d..f2f3f51bc68b 100644 --- a/app-emulation/vmware-workstation-tools/ChangeLog +++ b/app-emulation/vmware-workstation-tools/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for app-emulation/vmware-workstation-tools # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/vmware-workstation-tools/ChangeLog,v 1.19 2007/03/05 09:32:14 ikelos Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emulation/vmware-workstation-tools/ChangeLog,v 1.20 2007/03/07 21:04:56 wolf31o2 Exp $ + + 07 Mar 2007; Chris Gianelloni + files/vmware-workstation-tools, files/vmware-workstation-tools.rc: + Change all instances of [ to [[. 05 Mar 2007; Mike Auty vmware-workstation-tools-5.5.2.ebuild: diff --git a/app-emulation/vmware-workstation-tools/Manifest b/app-emulation/vmware-workstation-tools/Manifest index cd821e2fd91a..90ae216f6a98 100644 --- a/app-emulation/vmware-workstation-tools/Manifest +++ b/app-emulation/vmware-workstation-tools/Manifest @@ -17,18 +17,18 @@ AUX 90vmware-tools 88 RMD160 0b7743c0c55d5ab36684c274f3bba3d92239090e SHA1 f56da MD5 ecd5e9b34bd5e5ce29955c46b7fc4cca files/90vmware-tools 88 RMD160 0b7743c0c55d5ab36684c274f3bba3d92239090e files/90vmware-tools 88 SHA256 137040e747111019299cf7c3a4d668fec68ee848e1131e54802fd164e9b98f27 files/90vmware-tools 88 -AUX vmware-workstation-tools 1978 RMD160 5de240266db2e06ab44a1a6417c351b258b70336 SHA1 2ec55c22d1499aae182fecdc06b60ee46919bce5 SHA256 8a38a415ba7c2b4d8eaf5f580f895852fb771f4a196234789ee6948b61a4939f -MD5 91cf9942074d249035c12f7dbb11ce75 files/vmware-workstation-tools 1978 -RMD160 5de240266db2e06ab44a1a6417c351b258b70336 files/vmware-workstation-tools 1978 -SHA256 8a38a415ba7c2b4d8eaf5f580f895852fb771f4a196234789ee6948b61a4939f files/vmware-workstation-tools 1978 +AUX vmware-workstation-tools 1989 RMD160 0515a039c9f192b9d2f6e30ed99c1f59537dfeed SHA1 b3f5852a9a2e4f4bd54958c7bae0c8f5aa72ecc2 SHA256 8baad7d431cba5a5f07e4038a686607cdd9a764509e2d330ffea289b678d62c9 +MD5 20f585b7efbc1a2d21d28fb253661170 files/vmware-workstation-tools 1989 +RMD160 0515a039c9f192b9d2f6e30ed99c1f59537dfeed files/vmware-workstation-tools 1989 +SHA256 8baad7d431cba5a5f07e4038a686607cdd9a764509e2d330ffea289b678d62c9 files/vmware-workstation-tools 1989 AUX vmware-workstation-tools-5.5.1-config.patch 1339 RMD160 0b074f1001c7fac558be71e764b2511a6612e44a SHA1 c39d057e66bc4e6a0eaba413f6813682176e0bc1 SHA256 5c430054d25e3fd2632d1496b10f55e93b5eed96859eeab1269164f6600ad02c MD5 e0995d0a6484d507abc077ea4bbc51b0 files/vmware-workstation-tools-5.5.1-config.patch 1339 RMD160 0b074f1001c7fac558be71e764b2511a6612e44a files/vmware-workstation-tools-5.5.1-config.patch 1339 SHA256 5c430054d25e3fd2632d1496b10f55e93b5eed96859eeab1269164f6600ad02c files/vmware-workstation-tools-5.5.1-config.patch 1339 -AUX vmware-workstation-tools.rc 1458 RMD160 4f1f3db71c45a972d26a8e1918829113e464180d SHA1 500732eff62d0f90cb9ff9f022222a8586107615 SHA256 75a27c384636cc5b6bbf1eb0fb3f3e394fcb9f34627eaeac434e6fd9a27a44e4 -MD5 78f9c00ccbf449795d69550e66dbd0c3 files/vmware-workstation-tools.rc 1458 -RMD160 4f1f3db71c45a972d26a8e1918829113e464180d files/vmware-workstation-tools.rc 1458 -SHA256 75a27c384636cc5b6bbf1eb0fb3f3e394fcb9f34627eaeac434e6fd9a27a44e4 files/vmware-workstation-tools.rc 1458 +AUX vmware-workstation-tools.rc 1498 RMD160 30a0b96dce8a0dc985ea5f032f4e44da50cd08e6 SHA1 f58f0ef535352a473c7e8f498ea390eeb00cc9a8 SHA256 86176ed070ab8eefc420bddc7a2a9db56ea09c96f73306a5c9c79c19017f5ac6 +MD5 7c52d39bf1ee052a33310da31e2b2ac3 files/vmware-workstation-tools.rc 1498 +RMD160 30a0b96dce8a0dc985ea5f032f4e44da50cd08e6 files/vmware-workstation-tools.rc 1498 +SHA256 86176ed070ab8eefc420bddc7a2a9db56ea09c96f73306a5c9c79c19017f5ac6 files/vmware-workstation-tools.rc 1498 AUX xorg.conf 2646 RMD160 c3e2e153b3b9520fc8d5fa20e9e8f7a6c3790084 SHA1 a44f4240f19390a6707da4313139160ee6972da0 SHA256 2503352f7fd53f23e51d53017f76167a2da0fdfbb9eb434c85573108c6bc53c8 MD5 bd0505ab92d03f82b898858d45787f58 files/xorg.conf 2646 RMD160 c3e2e153b3b9520fc8d5fa20e9e8f7a6c3790084 files/xorg.conf 2646 @@ -50,10 +50,10 @@ EBUILD vmware-workstation-tools-5.5.3.ebuild 847 RMD160 00df88aa6905ca02119c4ec5 MD5 755b99b313a0b31bc73db0c79aa95a76 vmware-workstation-tools-5.5.3.ebuild 847 RMD160 00df88aa6905ca02119c4ec5dbc87c61acddb2ca vmware-workstation-tools-5.5.3.ebuild 847 SHA256 fec0ef62f3622ba6fbb0bcdb68401df5b8e4c8e0c6c44f18e96e3cc8d5aea26b vmware-workstation-tools-5.5.3.ebuild 847 -MISC ChangeLog 6472 RMD160 98747379beb7743f22dc1c98bffba4e12855a46f SHA1 ac118a4d9918f1e22188dc28a4473afc72722879 SHA256 2234873bd9474e1d9aa8b5496b6b2db8bb8f5104cb14d28189aecc1d74a16425 -MD5 bde64785ed88546de05dee2902472825 ChangeLog 6472 -RMD160 98747379beb7743f22dc1c98bffba4e12855a46f ChangeLog 6472 -SHA256 2234873bd9474e1d9aa8b5496b6b2db8bb8f5104cb14d28189aecc1d74a16425 ChangeLog 6472 +MISC ChangeLog 6633 RMD160 cf2519ab2d665ddb18cdd318b35966e3378e4810 SHA1 f2adcce2a7c3a2c4412ed53f7fc173fb789eb440 SHA256 1a6770ac549873fd8258dffa39845df5f339e95a13b3ed4445faeec0427c2fc1 +MD5 90b12e7c3f18c4277c8ab9151bc8821d ChangeLog 6633 +RMD160 cf2519ab2d665ddb18cdd318b35966e3378e4810 ChangeLog 6633 +SHA256 1a6770ac549873fd8258dffa39845df5f339e95a13b3ed4445faeec0427c2fc1 ChangeLog 6633 MISC metadata.xml 159 RMD160 fc7f68a382390e5916b0fb43f37a893fad4f9798 SHA1 f46b02a39bcd0165558de67ff4256cfc812418a3 SHA256 8581ae1c90a48f50fa0542c7fb28cb8984baaf12f50fa18f33e467081effb215 MD5 7cc95faad4185e8ed375248bc73a17fc metadata.xml 159 RMD160 fc7f68a382390e5916b0fb43f37a893fad4f9798 metadata.xml 159 @@ -73,7 +73,7 @@ SHA256 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 files/di -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.2 (GNU/Linux) -iD8DBQFF6+Opu7rWomwgFXoRApqzAJ4kkTPQvWP6G/6PJx7MJJ/FFrJJDgCgsYmQ -7gazenutDk3aY1nbZZXt/Ro= -=OUBm +iD8DBQFF7yj9kT4lNIS36YERAuC4AJ9bjxJTZY8UUKicBh6vQ2to878sJQCghilq +WCnOqUXSMjq4gPXKZIkVlLM= +=18rh -----END PGP SIGNATURE----- diff --git a/app-emulation/vmware-workstation-tools/files/vmware-workstation-tools b/app-emulation/vmware-workstation-tools/files/vmware-workstation-tools index 0ca65b26b553..a7dab3212d35 100755 --- a/app-emulation/vmware-workstation-tools/files/vmware-workstation-tools +++ b/app-emulation/vmware-workstation-tools/files/vmware-workstation-tools @@ -1,6 +1,6 @@ #!/sbin/runscript # -# $Header: /var/cvsroot/gentoo-x86/app-emulation/vmware-workstation-tools/files/vmware-workstation-tools,v 1.1 2006/05/10 16:11:09 wolf31o2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emulation/vmware-workstation-tools/files/vmware-workstation-tools,v 1.2 2007/03/07 21:04:56 wolf31o2 Exp $ # # This script manages the services needed to run VMware software @@ -27,14 +27,14 @@ isLoaded() { } vmware_tools_load_module() { - if [ "`isLoaded "$1"`" = 'yes' ]; then + if [[ "`isLoaded "$1"`" = 'yes' ]] ; then /sbin/rmmod "$1" fi /sbin/insmod -s -f "/lib/modules/`uname -r`/misc/$1.o" >/dev/null 2>&1 || /sbin/insmod -s -f "$1" >/dev/null 2>&1 || eend 1 } vmware_tools_unload_module() { - if [ "`isLoaded "$1"`" = 'yes' ]; then + if [[ "`isLoaded "$1"`" = 'yes' ]] ; then /sbin/rmmod "$1" >/dev/null 2>&1 || eend 1 fi } @@ -46,7 +46,7 @@ depend () checkconfig () { - if [ -f $VMWARE_NOT_CONFIGURED ]; then + if [[ -f ${VMWARE_NOT_CONFIGURED} ]] ; then eerror "Please run $VMWARE_CONFIG_TOOLS first" eend 1 return 1 diff --git a/app-emulation/vmware-workstation-tools/files/vmware-workstation-tools.rc b/app-emulation/vmware-workstation-tools/files/vmware-workstation-tools.rc index d19f8fc409f0..38a8353f8337 100644 --- a/app-emulation/vmware-workstation-tools/files/vmware-workstation-tools.rc +++ b/app-emulation/vmware-workstation-tools/files/vmware-workstation-tools.rc @@ -1,7 +1,7 @@ #!/sbin/runscript # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/vmware-workstation-tools/files/vmware-workstation-tools.rc,v 1.3 2006/06/13 22:07:13 wolf31o2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emulation/vmware-workstation-tools/files/vmware-workstation-tools.rc,v 1.4 2007/03/07 21:04:56 wolf31o2 Exp $ depend() { before checkfs net @@ -14,22 +14,22 @@ vmware-prettify() { msgtype=0 while read line do - [ "$line" == "" ] && continue - if [ "$msgtype" -le "0" ] + [[ "${line}" == "" ]] && continue + if [[ "${msgtype}" -le "0" ]] then - if [ "$msgtype" == "-1" ] + if [[ "${msgtype}" == "-1" ]] then - ewarn $line + ewarn ${line} continue fi if [ "${line/*:*/}" == "" ] then - einfon $line + einfon ${line} echo eend 0 msgtype=1 else - ewarn $line + ewarn ${line} msgtype=-1 waserror=1 fi @@ -37,25 +37,25 @@ vmware-prettify() { fi # Strip out anything after the code - message=`echo $line | sed -e "s/^\(.*\).*$/\1/"` - einfon " $message" + message=`echo ${line} | sed -e "s/^\(.*\).*$/\1/"` + einfon " ${message}" echo - echo $line | grep done > /dev/null + echo ${line} | grep done > /dev/null status=$? - eend $status + eend ${status} - if [ "$status" != "0" ] + if [[ "${status}" != "0" ]] then - logger -p local0.err -t vmware-${state} "$line" - waserror=$status + logger -p local0.err -t vmware-${state} "${line}" + waserror=${status} fi done - if [ "$msgtype" == "-1" ] + if [[ "${msgtype}" == "-1" ]] then eend 1 "VMware is not properly configured! See above." fi - return $waserror + return ${waserror} } start() {