From 0a5659f92400de932fce8e9f931ef1aecdb1996c Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Fri, 13 Apr 2007 00:34:04 +0000 Subject: [PATCH] trim excess quoting Package-Manager: portage-2.1.2.3 --- sys-apps/hdparm/Manifest | 18 ++++++++++++++---- sys-apps/hdparm/files/hdparm-init-8 | 6 +++--- 2 files changed, 17 insertions(+), 7 deletions(-) diff --git a/sys-apps/hdparm/Manifest b/sys-apps/hdparm/Manifest index a872d0cf9538..d3b3d3e087ff 100644 --- a/sys-apps/hdparm/Manifest +++ b/sys-apps/hdparm/Manifest @@ -1,3 +1,6 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + AUX hdparm-conf.d.3 430 RMD160 2c075ab3bf51286999860e2fa08989327bbaa1e3 SHA1 994e932091e7a09136050b2b1a96c31850eee46d SHA256 e3d8ce9928385e25abd388cf2d169198e03129f41d3eca1f23c96fdbe54f3462 MD5 7905eb90e421523aa0c7f32f3d16b1fe files/hdparm-conf.d.3 430 RMD160 2c075ab3bf51286999860e2fa08989327bbaa1e3 files/hdparm-conf.d.3 430 @@ -6,10 +9,10 @@ AUX hdparm-init-7 3149 RMD160 b864061c66738ed4e2ca63fc2e711f91621ffeed SHA1 4939 MD5 0c1b37777883cfc08d53b8b51cb5fbd6 files/hdparm-init-7 3149 RMD160 b864061c66738ed4e2ca63fc2e711f91621ffeed files/hdparm-init-7 3149 SHA256 2bf92c7bb384e9d0a4b1ffed02bbd6833a0dc31e12d49747db8f776219876288 files/hdparm-init-7 3149 -AUX hdparm-init-8 3413 RMD160 733efd260ed0a7809edf0dfb8cc9bf757db4979b SHA1 c9ba21e7247fbf980e29ba0c86f4367173e29641 SHA256 7b19fc09acb13df68a8aee556db9cb654c677cfb15edfa42d6de32d2ef602eec -MD5 59e89ec84bd3b866bf0a2fb853477650 files/hdparm-init-8 3413 -RMD160 733efd260ed0a7809edf0dfb8cc9bf757db4979b files/hdparm-init-8 3413 -SHA256 7b19fc09acb13df68a8aee556db9cb654c677cfb15edfa42d6de32d2ef602eec files/hdparm-init-8 3413 +AUX hdparm-init-8 3407 RMD160 20a1107fbcef692ac8d8cf3c6b4b48dbc66d11fd SHA1 1897f3d4c98720b7e49b0a9ecd8070157b93be1c SHA256 c82b309bae71bebb13956c0c17eeab9e408f7da2c5cbd0405878779301200eb5 +MD5 d530139a31b3941b3b0fbb4d98391a85 files/hdparm-init-8 3407 +RMD160 20a1107fbcef692ac8d8cf3c6b4b48dbc66d11fd files/hdparm-init-8 3407 +SHA256 c82b309bae71bebb13956c0c17eeab9e408f7da2c5cbd0405878779301200eb5 files/hdparm-init-8 3407 DIST hdparm-6.3.tar.gz 44052 RMD160 dff66236938b7d3f60fe43505b4c0d8f4dce2386 SHA1 013ebdf957bbbd53889e910012f552343eeff4b6 SHA256 08688a6a46ba495494bf838f8f26103e797584c1888eca94e43a171e1b37246d DIST hdparm-6.6.tar.gz 45538 RMD160 714fbc5216bdb427c7e817649f3c4f5462620c13 SHA1 8d288e0c22d7ff5968f5fa507bbf56703b2f6ed9 SHA256 7e2db39a4e1f41bb327a9a8ef9e5e8359aaed0cc78e642a4ca67659629e3048b DIST hdparm-6.9.tar.gz 46801 RMD160 d862e656456f14fb8139c15cd68ba9252082532e SHA1 10e8dcdde0fe4ed482bbb1e4b19cb3ea07b2f58a SHA256 cae6ed86296d01be98ee3be0c224c4323eee508941a7f162a0366d56655afe06 @@ -49,3 +52,10 @@ SHA256 bd0d1bf3333855e47bea3a6edda1e54725e5557a22099a92992966431570a097 files/di MD5 7ac1e2fe2d42973d1a3a5e8a69140dd9 files/digest-hdparm-6.9-r1 229 RMD160 f60e3443962c6b7a0148ee6cf560591a3fa41349 files/digest-hdparm-6.9-r1 229 SHA256 bd0d1bf3333855e47bea3a6edda1e54725e5557a22099a92992966431570a097 files/digest-hdparm-6.9-r1 229 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.3 (GNU/Linux) + +iD4DBQFGHtAs8bi6rjpTunYRAk96AJj/DJNCa93/DMSRfK5PWnrYV44PAJ4sFZUY +KCvVyH5GAoHT/b6ORn16og== +=bZ4M +-----END PGP SIGNATURE----- diff --git a/sys-apps/hdparm/files/hdparm-init-8 b/sys-apps/hdparm/files/hdparm-init-8 index 3d712b2ebee6..89aa4f82b7aa 100644 --- a/sys-apps/hdparm/files/hdparm-init-8 +++ b/sys-apps/hdparm/files/hdparm-init-8 @@ -30,7 +30,7 @@ do_hdparm() { [ -z "${args}${all_args}${e}" ] && return 0 if [ -n "${args:=${all_args} ${e}}" ] ; then - local orgdevice="$(readlink -f "${device}")" + local orgdevice=$(readlink -f "${device}") if [ -b "${orgdevice}" ] ; then ebegin "Running hdparm on ${device}" hdparm ${args} "${device}" > /dev/null @@ -115,9 +115,9 @@ scan_nondevfs() { # check that the block device really exists by # opening it for reading local errmsg= status= nomed=1 - errmsg="$(export LC_ALL=C ; : 2>&1 <"${device}")" + errmsg=$(export LC_ALL=C ; : 2>&1 <"${device}") status=$? - case "${errmsg}" in + case ${errmsg} in *": No medium found") nomed=0;; esac if [ -b "${device}" ] && [ "${status}" = "0" -o "${nomed}" = "0" ] ; then -- 2.26.2