diff options
author | emkael <emkael@tlen.pl> | 2019-04-20 02:01:19 +0200 |
---|---|---|
committer | emkael <emkael@tlen.pl> | 2019-04-20 02:01:19 +0200 |
commit | 28439ffa587cb9c7bc40eaf40584eb27a92be811 (patch) | |
tree | 2b1f6b32dce6cfc2de03422bf120dfa613de905b | |
parent | 675fac2b7be5e4df1f4f83d3b70ea564c0b63f4e (diff) |
Do not multiply newlines
-rwxr-xr-x | bin/datafiles-htaccess.sh | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/bin/datafiles-htaccess.sh b/bin/datafiles-htaccess.sh index ab04bb0..0ac3b4e 100755 --- a/bin/datafiles-htaccess.sh +++ b/bin/datafiles-htaccess.sh @@ -3,7 +3,6 @@ CONFIG=$1 HTACCESS_FILE=$2 cat $HTACCESS_FILE | sed -e '/^# auto-generated from this point below$/,$d' > $HTACCESS_FILE.tmp -echo '' >> $HTACCESS_FILE.tmp echo '# auto-generated from this point below' >> $HTACCESS_FILE.tmp cat $CONFIG | jq -r '.[] | .date, .url' | xargs -n 2 | |