summaryrefslogtreecommitdiffstats
path: root/tools/xmlGenerator
diff options
context:
space:
mode:
authorFrédéric Boisnard <fredericx.boisnard@intel.com>2013-02-07 19:33:51 +0100
committerDavid Wagner <david.wagner@intel.com>2014-02-12 17:03:46 +0100
commit22a6cef89ab708fff985ded34031a5d48fbd5236 (patch)
treed44870a4a80198d61008a07e5cc843a4eb4d8915 /tools/xmlGenerator
parentfe753d4ba5d5bf3df7b7f4876280b74fc8647285 (diff)
downloadexternal_parameter-framework-22a6cef89ab708fff985ded34031a5d48fbd5236.zip
external_parameter-framework-22a6cef89ab708fff985ded34031a5d48fbd5236.tar.gz
external_parameter-framework-22a6cef89ab708fff985ded34031a5d48fbd5236.tar.bz2
sortAsound.conf.sh do not handle spaces
BZ: 85879 This patch fixes a small bug in the sortAsound.conf.sh script, now it is allowed to have multiple spaces around the property 'value' for a hook in the asound.conf file. Change-Id: Iad3e51d4d56c371b5f7d57f333013f23d840a645 Signed-off-by: Frédéric Boisnard <fredericx.boisnard@intel.com> Reviewed-on: http://android.intel.com:8080/90959 Reviewed-by: cactus <cactus@intel.com> Reviewed-by: Denneulin, Guillaume <guillaume.denneulin@intel.com> Reviewed-by: Rocard, KevinX <kevinx.rocard@intel.com> Reviewed-by: Gonzalve, Sebastien <sebastien.gonzalve@intel.com> Tested-by: Dixon, CharlesX <charlesx.dixon@intel.com> Reviewed-by: buildbot <buildbot@intel.com> Tested-by: buildbot <buildbot@intel.com>
Diffstat (limited to 'tools/xmlGenerator')
-rwxr-xr-xtools/xmlGenerator/analyse/sortAsound.conf.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/xmlGenerator/analyse/sortAsound.conf.sh b/tools/xmlGenerator/analyse/sortAsound.conf.sh
index b607161..28db0b1 100755
--- a/tools/xmlGenerator/analyse/sortAsound.conf.sh
+++ b/tools/xmlGenerator/analyse/sortAsound.conf.sh
@@ -50,7 +50,7 @@ sed -nr -e 's#^pcm.(.*)\{.*$#\1#; t save;
b next;
:save;h;b' \
\
- -e ':next; s/.*name "(.*)" value ([^}]*).*/\1 = \2 # /; t pcm;
+ -e ':next; s/.*name\s+"(.*)"\s+value\s+([^}]*).*/\1 = \2 # /; t pcm;
b;
:pcm; G;s/\n//p;' -- "$file" |
sort | \