diff options
author | Stefano Lattarini <stefano.lattarini@gmail.com> | 2012-06-22 23:31:00 +0200 |
---|---|---|
committer | Stefano Lattarini <stefano.lattarini@gmail.com> | 2012-06-22 23:31:00 +0200 |
commit | 465111cdfd1b92feaf9c6fd679cf1845c4e53083 (patch) | |
tree | d8eb9a5c623c25e4f9e1d9099488ea73208ccd15 /t/autodist-no-duplicate.sh | |
parent | d1490b591601685d3fd6313475ac5a58940d5f6b (diff) | |
download | automake-465111cdfd1b92feaf9c6fd679cf1845c4e53083.tar.gz |
tests: more uses of $(...) over `...` for command substitution
Somehow missed by the previous changes. No big deal, fix them now.
* t/ax/depcomp.sh: Here.
* t/autodist.sh: And here.
* t/autodist-no-duplicate.sh: And here.
* t/autodist-subdir.sh: Ad here.
* t/remake11.sh t/self-check-me.tap: And here.
* t/perf/testsuite-summary.sh: And here.
* t/perf/testsuite-recheck.sh: And here.
Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
Diffstat (limited to 't/autodist-no-duplicate.sh')
-rwxr-xr-x | t/autodist-no-duplicate.sh | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/t/autodist-no-duplicate.sh b/t/autodist-no-duplicate.sh index 2e610ae02..0055e4cd1 100755 --- a/t/autodist-no-duplicate.sh +++ b/t/autodist-no-duplicate.sh @@ -24,14 +24,14 @@ re='Files .*automatically distributed.*if found' # The automake manual states that the list of automatically-distributed # files should be given by 'automake --help'. -list1=`$AUTOMAKE --help \ - | sed -n "/^$re.*always/,/^ *$/p" \ - | sed 1d` +list1=$($AUTOMAKE --help \ + | sed -n "/^$re.*always/,/^ *$/p" \ + | sed 1d) list1=$(echo $list1) -list2=`$AUTOMAKE --help \ - | sed -n "/^$re.*under certain conditions/,/^ *$/p" \ - | sed 1d` +list2=$($AUTOMAKE --help \ + | sed -n "/^$re.*under certain conditions/,/^ *$/p" \ + | sed 1d) list2=$(echo $list2) test -n "$list1" |