From: W. Trevor King Date: Thu, 18 Oct 2012 12:59:10 +0000 (-0400) Subject: r2e: use PYTHONPATH to find and run rss2email. X-Git-Tag: v3.0~72^2~16 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=de95090467772157a850834b5c954e939729dbc1;p=rss2email.git r2e: use PYTHONPATH to find and run rss2email. This should make it easier for r2e to work where several Python version are installed on the same machine. --- diff --git a/r2e b/r2e index a2cf9af..83851b9 100755 --- a/r2e +++ b/r2e @@ -1,2 +1,2 @@ #!/bin/sh -python3 rss2email.py -c config -d feeds.dat $* +python3 -c 'import rss2email; rss2email.run()' -c config -d feeds.dat $*