1 |
commit: 1fe6ab580888796f069810a1c33c8108d6be0da7 |
2 |
Author: Emil Karlson <jekarlson <AT> gmail <DOT> com> |
3 |
AuthorDate: Fri Jan 31 20:06:46 2014 +0000 |
4 |
Commit: Emil Karlson <jekarlson <AT> gmail <DOT> com> |
5 |
CommitDate: Fri Jan 31 20:06:46 2014 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/x11.git;a=commit;h=1fe6ab58 |
7 |
|
8 |
x11-drivers/ati-drivers: fix quoting in ati-powermode-opt-path-3.patch |
9 |
|
10 |
Thanks to Zdeněk Žamberský for providing the fix |
11 |
|
12 |
--- |
13 |
x11-drivers/ati-drivers/files/ati-powermode-opt-path-3.patch | 6 +++--- |
14 |
1 file changed, 3 insertions(+), 3 deletions(-) |
15 |
|
16 |
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 |
17 |
index 106e67e..278c191 100644 |
18 |
--- a/x11-drivers/ati-drivers/files/ati-powermode-opt-path-3.patch |
19 |
+++ b/x11-drivers/ati-drivers/files/ati-powermode-opt-path-3.patch |
20 |
@@ -14,7 +14,7 @@ |
21 |
|
22 |
#If PPLIB is enabled |
23 |
-su $user -c '/usr/bin/aticonfig --pplib-cmd="get version"' | grep PPLIB |
24 |
-+su $user -c '$aticonfig --pplib-cmd="get version"' | grep PPLIB |
25 |
++su $user -c "$aticonfig --pplib-cmd='get version'" | grep PPLIB |
26 |
if [ $? = 0 ]; then |
27 |
echo "Has PPLIB" |
28 |
has_pplib=1 |
29 |
@@ -23,7 +23,7 @@ |
30 |
echo "Low power" |
31 |
if [ ${has_pplib} -eq 1 ]; then |
32 |
- su $user -c '/usr/bin/aticonfig --pplib-cmd="notify psrc dc"' |
33 |
-+ su $user -c '$aticonfig --pplib-cmd="notify psrc dc"' |
34 |
++ su $user -c "$aticonfig --pplib-cmd='notify psrc dc'" |
35 |
else |
36 |
- su $user -c "/usr/bin/aticonfig --set-powerstate=1 --effective=now" |
37 |
+ su $user -c "$aticonfig --set-powerstate=1 --effective=now" |
38 |
@@ -32,7 +32,7 @@ |
39 |
echo "high power" |
40 |
if [ ${has_pplib} -eq 1 ]; then |
41 |
- su $user -c '/usr/bin/aticonfig --pplib-cmd="notify psrc ac"' |
42 |
-+ su $user -c '$aticonfig --pplib-cmd="notify psrc ac"' |
43 |
++ su $user -c "$aticonfig --pplib-cmd='notify psrc ac'" |
44 |
else |
45 |
- su $user -c "/usr/bin/aticonfig --set-powerstate=3 --effective=now" |
46 |
+ su $user -c "$aticonfig --set-powerstate=3 --effective=now" |