projects
/
rss2email.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7cb6450
)
r2e: use python in the sh-bang.
author
W. Trevor King
<wking@tremily.us>
Thu, 18 Oct 2012 15:00:02 +0000
(11:00 -0400)
committer
W. Trevor King
<wking@tremily.us>
Thu, 18 Oct 2012 15:00:07 +0000
(11:00 -0400)
This is better than using Bash to call Python, because distutils can
make sh-bang adjustments on installation.
It drops the local --config/--data options, but that brings us into
compliance with the current README and man page.
r2e
patch
|
blob
|
history
diff --git
a/r2e
b/r2e
index 83851b950c07f62b9521b0fc15383835702aa5c7..ff9b016d26a36e45671c5fe31ae9cf91b50d16e0 100755
(executable)
--- a/
r2e
+++ b/
r2e
@@
-1,2
+1,5
@@
-#!/bin/sh
-python3 -c 'import rss2email; rss2email.run()' -c config -d feeds.dat $*
+#!/usr/bin/env python
+
+import rss2email
+
+rss2email.run()