SHA256
1
0
forked from pool/alsa-utils
alsa-utils/0005-alsa-info-Make-sure-all-full-script-is-run-even-with.patch
Takashi Iwai efb484ff51 Accepting request 246457 from home:tiwai:branches:multimedia:libs
- alsa-info.sh updates to 0.4.64: run withall also when --output
  is given
  0005-alsa-info-Make-sure-all-full-script-is-run-even-with.patch
  0006-alsa-info-Refactor-withall-logic.patch

OBS-URL: https://build.opensuse.org/request/show/246457
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/alsa-utils?expand=0&rev=106
2014-08-26 11:47:00 +00:00

33 lines
999 B
Diff

From 4f569affc420579a1a6e44cf51d7a1e64d6cd8d3 Mon Sep 17 00:00:00 2001
From: David Henningsson <david.henningsson@canonical.com>
Date: Fri, 22 Aug 2014 10:31:40 +0200
Subject: [PATCH] alsa-info: Make sure all full script is run even with
"output" option
For some reason, when the --output option is used, less information
is included compared to when no options are used. This is unexpected.
Fix this by running "withall" also when the output option is used.
Signed-off-by: David Henningsson <david.henningsson@canonical.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
---
alsa-info/alsa-info.sh | 1 +
1 file changed, 1 insertion(+)
diff --git a/alsa-info/alsa-info.sh b/alsa-info/alsa-info.sh
index 859d7bca6b1c..47157f06b159 100755
--- a/alsa-info/alsa-info.sh
+++ b/alsa-info/alsa-info.sh
@@ -661,6 +661,7 @@ if [ -n "$1" ]; then
shift
NFILE="$1"
KEEP_OUTPUT="yes"
+ withall
;;
--debug)
echo "Debugging enabled. $FILE and $TEMPDIR will not be deleted"
--
2.1.0