summaryrefslogtreecommitdiff
path: root/t/autodist-no-duplicate.sh
diff options
context:
space:
mode:
authorStefano Lattarini <stefano.lattarini@gmail.com>2012-06-22 23:31:00 +0200
committerStefano Lattarini <stefano.lattarini@gmail.com>2012-06-22 23:31:00 +0200
commit465111cdfd1b92feaf9c6fd679cf1845c4e53083 (patch)
treed8eb9a5c623c25e4f9e1d9099488ea73208ccd15 /t/autodist-no-duplicate.sh
parentd1490b591601685d3fd6313475ac5a58940d5f6b (diff)
downloadautomake-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-xt/autodist-no-duplicate.sh12
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"