# HG changeset patch # User HIROSE Yuuji # Date 1480258846 -32399 # Node ID 1f62c51bed4fea11a95d9f7885d5bffff4574983 # Parent 165fa0a61d18549d71fa9a2e769463210cc3833f Remove debugging code diff -r 165fa0a61d18 -r 1f62c51bed4f s4-blog.sh --- a/s4-blog.sh Sun Nov 27 17:24:22 2016 +0859 +++ b/s4-blog.sh Mon Nov 28 00:00:45 2016 +0859 @@ -428,8 +428,7 @@ printf ".mode csv\n.header ON\n" | query >/dev/null fn=report-count.csv printf 'Content-Disposition: filename="%s"\n' "$fn" - outfile=tmp/out-$$.csv - rm tmp/sql.out + outfile=$tmpd/out-$$.csv echo "$sql" | query | sed 's/^"[0-9]* /"/' > $outfile echo "Content-Length: " `cat $outfile | wc -c`; echo @@ -762,7 +761,7 @@ $layout/form+dump-whead.m4.html } -blog_reply() { +blog_reply() { # Posting to blog article rowid=$1 if [ -z "$rowid" ]; then