Skip to content
Snippets Groups Projects
Commit 87daff0c authored by Junio C Hamano's avatar Junio C Hamano Committed by Jean-Noël Avila
Browse files

Simplify generation of po4a.conf

There is no need to use a subshell for redirection; just redirect the output from the "cat" command directly.
parent e9799f7a
No related branches found
No related tags found
No related merge requests found
#!/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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment