summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2019-04-20 02:01:19 +0200
committeremkael <emkael@tlen.pl>2019-04-20 02:01:19 +0200
commit28439ffa587cb9c7bc40eaf40584eb27a92be811 (patch)
tree2b1f6b32dce6cfc2de03422bf120dfa613de905b
parent675fac2b7be5e4df1f4f83d3b70ea564c0b63f4e (diff)
Do not multiply newlines
-rwxr-xr-xbin/datafiles-htaccess.sh1
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 |