From 28439ffa587cb9c7bc40eaf40584eb27a92be811 Mon Sep 17 00:00:00 2001 From: emkael Date: Sat, 20 Apr 2019 02:01:19 +0200 Subject: Do not multiply newlines --- bin/datafiles-htaccess.sh | 1 - 1 file changed, 1 deletion(-) 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 | -- cgit v1.2.3