use /usr/bin/env for #! lines

This commit is contained in:
Terence Simpson 2010-05-19 14:11:16 +01:00
parent 95618780f4
commit 0320609071
8 changed files with 8 additions and 7 deletions

View File

@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python
###
# Copyright (c) 2005-2007 Dennis Kaarsemaker
#

View File

@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python
###
# Copyright (c) 2006,2007 Dennis Kaarsemaker
# Copyright (c) 2008, 2009 Terence Simpson

View File

@ -1,3 +1,4 @@
#!/usr/bin/env python
###
# Copyright (c) 2006-2007 Dennis Kaarsemaker
# Copyright (c) 2008-2010 Terence Simpson <tsimpson@ubuntu.com>

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
DIR=/home/bot/aptdir

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
if [ ! -x "$(which apt-file)" ]; then
echo "Please install apt-file"

View File

@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python
import sys, os
sys.path.append(os.path.dirname(__file__))
from icalendar import Calendar, cal, prop

View File

@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python
from dateutil import rrule
import re, datetime

View File

@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python
import datetime, pytz, urllib2, ical
def filter(events):
ret = [x for x in events if x.seconds_ago() < 1800]