tasn pushed a commit to branch master.

commit 50cef78346eb9ff5d86185b7fcee85530317b89c
Author: Tom Hacohen <[email protected]>
Date:   Fri Apr 26 13:50:47 2013 +0100

    Fixed usage of backtick that broke in a previous commit.
    
    commit that broke it: 802baf489fc86837123804d48f1d43504c2f72ad
---
 src/scripts/exactness.in | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

diff --git a/src/scripts/exactness.in b/src/scripts/exactness.in
index 8ca4a74..8719eb6 100755
--- a/src/scripts/exactness.in
+++ b/src/scripts/exactness.in
@@ -86,7 +86,7 @@ get_test_params () {
       return 1
    fi
 
-   local p=\`expr index "$line" \\ \`
+   local p=`expr index "$line" \ `
    if [ $p -ne 0 ]
    then
       (( p-- ))
@@ -208,15 +208,15 @@ compare_files () {
    if [ -e "$1" ]
       # First file exists
    then
-      local md_file1=\`md5sum $1\`
+      local md_file1=`md5sum $1`
       if [ -e "$2" ]
       then
          # Second file exists
-         local md_file2=\`md5sum $2\`
+         local md_file2=`md5sum $2`
 
          # Get md5 of both files
-         local md1=\`echo "$md_file1" | cut -d ' ' -f1\`
-         local md2=\`echo "$md_file2" | cut -d ' ' -f1\`
+         local md1=`echo "$md_file1" | cut -d ' ' -f1`
+         local md2=`echo "$md_file2" | cut -d ' ' -f1`
 
          # Increase counter of comparisons
          (( ncomp++ ))
@@ -227,7 +227,7 @@ compare_files () {
             if [ $comp_unavail -eq 0 ]
             then
                # Create diff-file with 'comp_' prefix.
-               local name=\`basename "$1"\`
+               local name=`basename "$1"`
                compare "$1" "$2" "$_dest_dir"/comp_"$name"
             else
                echo "$name does not match."
@@ -252,7 +252,7 @@ process_compare () {
    local files_list=( "$@" )
    for line in "${files_list[@]}"
    do
-      local name=\`basename "$line"\`
+      local name=`basename "$line"`
       DEBUG echo "comparing $name"
       compare_files "$_orig_dir"/"$name" "$_dest_dir"/"$name"
    done
@@ -288,7 +288,7 @@ do_compare () {
    for test_name in $*
    do
       rm "$_dest_dir"/comp_"$test_name"_[0-9]*.png &> /dev/null
-      files_list=( \`ls "$_dest_dir"/"$test_name"_[0-9]*.png\` )
+      files_list=( `ls "$_dest_dir"/"$test_name"_[0-9]*.png` )
       process_compare "${files_list[@]}"
    done
 
@@ -562,7 +562,7 @@ then
    ls fail_*.txt  &> /dev/null
    if [ "$?" -eq 0 ]
    then
-      _n_tests_failed=\`ls fail_*.txt -1 | wc -l\`
+      _n_tests_failed=`ls fail_*.txt -1 | wc -l`
 
       if [ "$_n_tests_failed" ]
       then

-- 

------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr

Reply via email to