From a84186e5c92175b0009f020b4b365c6013164d69 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Thu, 18 Oct 2012 11:00:02 -0400 Subject: [PATCH] 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. --- r2e | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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() -- 2.26.2