commit 43e3952ed974d68f50f509badd12b2c0a31b7da0 parent 0e453619e7df5a237964f4aaf58f6b24b1b97f8f Author: Tomas Nemec <nemi@skaut.cz> Date: Mon, 2 Jan 2023 15:55:31 +0100 feat: use conv. ENV variables Diffstat:
M | fin-check-invoices | | | 6 | +++--- |
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/fin-check-invoices b/fin-check-invoices @@ -71,11 +71,11 @@ TO PAY: $fak_money PAID: $fak_currency $mcheck" \ - > "$CACHE/osvc/$fak_id.md" + > "$XDG_CACHE_HOME/osvc/$fak_id.md" # Add to rss - print "<a href=\"$fak_id.md\" title=\"$fio_date\">$fak_id</a>\n" >> "$CACHE/osvc/rss.html" + print "<a href=\"$fak_id.md\" title=\"$fio_date\">$fak_id</a>\n" >> "$XDG_CACHE_HOME/osvc/rss.html" done -rssg $CACHE/osvc/rss.html "Invoices" > $CACHE/osvc/rss.xml +rssg $XDG_CACHE_HOME/osvc/rss.html "Invoices" > $XDG_CACHE_HOME/osvc/rss.xml rm -r $tempdir