[PATCH 10/10] t/t9001-send-email.sh: get rid of unnecessary backquotes
- From
Elia Pinto <gitter.spiros@gmail.com>
- Date
- Jan 8, 2016, 11:06 UTC
- Message-ID
- <1452251188-12939-11-git-send-email-gitter.spiros@gmail.com>
- In-Reply-To
- <1452251188-12939-1-git-send-email-gitter.spiros@gmail.com>
Instead of making the shell expand 00* and invoke 'echo' with it, and then capturing its output as command substitution, just use the result of expanding 00* directly.
Signed-off-by: Elia Pinto <gitter.spiros@gmail.com> --- t/t9001-send-email.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/t/t9001-send-email.sh b/t/t9001-send-email.sh index 05949a1..bcbed38 100755 --- a/t/t9001-send-email.sh +++ b/t/t9001-send-email.sh @@ -1488,7 +1488,7 @@ test_cover_addresses () { clean_fake_sendmail && rm -fr outdir && git format-patch --cover-letter -2 -o outdir && - cover=`echo outdir/0000-*.patch` && + cover="outdir/0000-*.patch" && mv $cover cover-to-edit.patch && perl -pe "s/^From:/$header: extra\@address.com\nFrom:/" cover-to-edit.patch >"$cover" && git send-email \
-- 2.3.3.GIT