fileset

git mirror of https://ccx.te2000.cz/bzr/fileset
git clone https://ccx.te2000.cz/git/fileset
Log | Files | Refs | README

commit 2665003f6211048801be09dc20c2773fcedbffc4
parent 93ab5ffeb050956566b4be79dea01d6c1b6bfbac
Author: Jan Pobrislo <ccx@webprojekty.cz>
Date:   Tue,  5 Jan 2016 16:06:17 +0100

fix indentation
Diffstat:
Mbin/fileset.awk | 5+++--
1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/bin/fileset.awk b/bin/fileset.awk @@ -184,8 +184,9 @@ function process_statement() { } else { # unless disabled with the N flag, append newline at the end of # last line, if not already present - printf_fmt = crest ~ /n/ || (crest !~ /N/ && content !~ /\n$/) ? \ - "%s\\n" : "%s" + printf_fmt = ( \ + crest ~ /n/ || (crest !~ /N/ && content !~ /\n$/) \ + ) ? "%s\\n" : "%s" funcs[func_name] = "\tprintf '"printf_fmt"' "quoted(content) }