[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] /srv/bzr/gnash/trunk r11876: Quote the multi-line swfmill
From: |
Sandro Santilli |
Subject: |
[Gnash-commit] /srv/bzr/gnash/trunk r11876: Quote the multi-line swfmill -h output when echoing it, or the next process in pipe for some reason only gets the first line (on ubuntu 8.04) |
Date: |
Wed, 03 Feb 2010 21:31:19 +0100 |
User-agent: |
Bazaar (2.0.2) |
------------------------------------------------------------
revno: 11876
committer: Sandro Santilli <address@hidden>
branch nick: trunk
timestamp: Wed 2010-02-03 21:31:19 +0100
message:
Quote the multi-line swfmill -h output when echoing it, or the next process
in pipe for some reason only gets the first line (on ubuntu 8.04)
modified:
macros/swfmill.m4
=== modified file 'macros/swfmill.m4'
--- a/macros/swfmill.m4 2010-01-01 17:48:26 +0000
+++ b/macros/swfmill.m4 2010-02-03 20:31:19 +0000
@@ -40,7 +40,7 @@
if test x"$SWFMILL" != "x"; then
sm=`$SWFMILL -h 2>&1 | head -n 4`
- version=`echo $sm | grep 'swfmill
[[0-9]]\{1,2\}\(\.[[0-9]]\{1,2\}\)\{2,3\}' | cut -d' ' -f2`
+ version=`echo "$sm" | grep 'swfmill
[[0-9]]\{1,2\}\(\.[[0-9]]\{1,2\}\)\{2,3\}' | cut -d' ' -f2`
major=`echo $version | cut -d'.' -f1`
minor=`echo $version | cut -d'.' -f2`
micro=`echo $version | cut -d'.' -f3`
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gnash-commit] /srv/bzr/gnash/trunk r11876: Quote the multi-line swfmill -h output when echoing it, or the next process in pipe for some reason only gets the first line (on ubuntu 8.04),
Sandro Santilli <=