gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-commit] [SCM] Gnash branch, master, updated. f8cd0e5ab71d667fe268


From: Gabriele Giacone
Subject: [Gnash-commit] [SCM] Gnash branch, master, updated. f8cd0e5ab71d667fe26832b225f8beb56a34e325
Date: Sun, 23 Jan 2011 06:52:39 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Gnash".

The branch, master has been updated
       via  f8cd0e5ab71d667fe26832b225f8beb56a34e325 (commit)
      from  e05ccb787a4f4809c8b65e6d4e067015f805a670 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit//commit/?id=f8cd0e5ab71d667fe26832b225f8beb56a34e325


commit f8cd0e5ab71d667fe26832b225f8beb56a34e325
Author: Brad Smith <address@hidden>
Date:   Sun Jan 23 01:48:44 2011 -0500

    Fix shell script to use md5(1) when appropriate.

diff --git a/testsuite/swfdec/gen_run_swfdec_testsuite.sh 
b/testsuite/swfdec/gen_run_swfdec_testsuite.sh
index 97f819d..c3d5b19 100644
--- a/testsuite/swfdec/gen_run_swfdec_testsuite.sh
+++ b/testsuite/swfdec/gen_run_swfdec_testsuite.sh
@@ -31,6 +31,13 @@ if [ -n "$4" ]; then
        STARTPATTERN="$4"
 fi
 NOW=`date`
+if [ -x /bin/md5 ]; then
+       MD5="md5"
+       CUT="4"
+else
+       MD5="md5sum"
+       CUT="1"
+fi
 
 GPROCESSOR="${BUILDDIR}/utilities/gprocessor"
 GNASHRC="${BUILDDIR}/testsuite/gnashrc"
@@ -52,7 +59,7 @@ REALTIME=${SRCDIR}/REALTIME
 
 for test in \`ls ${SWFDECTRACEDIR}/[$STARTPATTERN]*.swf\`; do
        testname=\`basename \${test}\`
-       md5=\`md5sum \${test} | cut -d' ' -f1\`
+       md5=\`$MD5 \${test} | cut -d' ' -f$CUT\`
        testid="\${testname}:\${md5}"
 
        if [ -f \${test}.act ]; then

-----------------------------------------------------------------------

Summary of changes:
 testsuite/swfdec/gen_run_swfdec_testsuite.sh |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
Gnash



reply via email to

[Prev in Thread] Current Thread [Next in Thread]