From: W. Trevor King Date: Thu, 18 Oct 2012 15:00:02 +0000 (-0400) Subject: r2e: use python in the sh-bang. X-Git-Tag: v3.0~72^2~13 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=a84186e5c92175b0009f020b4b365c6013164d69;p=rss2email.git r2e: use python in the sh-bang. 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. --- diff --git a/r2e b/r2e index 83851b9..ff9b016 100755 --- 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()