From 87daff0c0b88d70531310a204fd5b61a045db181 Mon Sep 17 00:00:00 2001 From: Junio C Hamano <gitster@pobox.com> Date: Fri, 4 Jan 2019 12:35:20 -0800 Subject: [PATCH] Simplify generation of po4a.conf There is no need to use a subshell for redirection; just redirect the output from the "cat" command directly. --- create_po4a_conf.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/create_po4a_conf.sh b/create_po4a_conf.sh index 43b5b12..ed74f09 100755 --- a/create_po4a_conf.sh +++ b/create_po4a_conf.sh @@ -1,12 +1,11 @@ #!/bin/bash -(cat <<EOF +cat <<EOF >po4a.conf [po4a_langs] fr de [po4a_paths] po/documentation.pot \$lang:po/documentation.\$lang.po [options] opt: " -k 80" EOF -) >po4a.conf for f in $(cat sources.txt) do -- GitLab