public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Emil Karlson" <jekarlson@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/x11:master commit in: x11-drivers/ati-drivers/files/
Date: Fri, 31 Jan 2014 20:08:16 +0000 (UTC)	[thread overview]
Message-ID: <1391198806.1fe6ab580888796f069810a1c33c8108d6be0da7.emil_karlson@gentoo> (raw)

commit:     1fe6ab580888796f069810a1c33c8108d6be0da7
Author:     Emil Karlson <jekarlson <AT> gmail <DOT> com>
AuthorDate: Fri Jan 31 20:06:46 2014 +0000
Commit:     Emil Karlson <jekarlson <AT> gmail <DOT> com>
CommitDate: Fri Jan 31 20:06:46 2014 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/x11.git;a=commit;h=1fe6ab58

x11-drivers/ati-drivers: fix quoting in ati-powermode-opt-path-3.patch

Thanks to Zdeněk Žamberský for providing the fix

---
 x11-drivers/ati-drivers/files/ati-powermode-opt-path-3.patch | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/x11-drivers/ati-drivers/files/ati-powermode-opt-path-3.patch b/x11-drivers/ati-drivers/files/ati-powermode-opt-path-3.patch
index 106e67e..278c191 100644
--- a/x11-drivers/ati-drivers/files/ati-powermode-opt-path-3.patch
+++ b/x11-drivers/ati-drivers/files/ati-powermode-opt-path-3.patch
@@ -14,7 +14,7 @@
  
  #If PPLIB is enabled
 -su $user -c '/usr/bin/aticonfig --pplib-cmd="get version"' | grep PPLIB
-+su $user -c '$aticonfig --pplib-cmd="get version"' | grep PPLIB
++su $user -c "$aticonfig --pplib-cmd='get version'" | grep PPLIB
  if [ $? = 0 ]; then
     echo "Has PPLIB"
     has_pplib=1
@@ -23,7 +23,7 @@
      echo "Low power"
      if [ ${has_pplib} -eq 1 ]; then
 -        su $user -c '/usr/bin/aticonfig --pplib-cmd="notify psrc dc"'
-+        su $user -c '$aticonfig --pplib-cmd="notify psrc dc"'
++        su $user -c "$aticonfig --pplib-cmd='notify psrc dc'"
      else
 -        su $user -c "/usr/bin/aticonfig --set-powerstate=1 --effective=now"
 +        su $user -c "$aticonfig --set-powerstate=1 --effective=now"
@@ -32,7 +32,7 @@
      echo "high power"
      if [ ${has_pplib} -eq 1 ]; then
 -        su $user -c '/usr/bin/aticonfig --pplib-cmd="notify psrc ac"'
-+        su $user -c '$aticonfig --pplib-cmd="notify psrc ac"'
++        su $user -c "$aticonfig --pplib-cmd='notify psrc ac'"
      else
 -        su $user -c "/usr/bin/aticonfig --set-powerstate=3 --effective=now"
 +	su $user -c "$aticonfig --set-powerstate=3 --effective=now"


             reply	other threads:[~2014-01-31 20:08 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-31 20:08 Emil Karlson [this message]
  -- strict thread matches above, loose matches on Subject: below --
2014-01-22 21:48 [gentoo-commits] proj/x11:master commit in: x11-drivers/ati-drivers/files/ Emil Karlson
2013-09-19  7:54 Emil Karlson
2012-05-28 17:01 Enrico Tagliavini

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1391198806.1fe6ab580888796f069810a1c33c8108d6be0da7.emil_karlson@gentoo \
    --to=jekarlson@gmail.com \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox