Add flow-tools from #1341
git-svn-id: svn://svn.openwrt.org/openwrt/packages@7248 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
30
net/flow-tools/patches/010-python_script_location_fix.patch
Normal file
30
net/flow-tools/patches/010-python_script_location_fix.patch
Normal file
@ -0,0 +1,30 @@
|
||||
diff --git a/bin/flow-log2rrd b/bin/flow-log2rrd
|
||||
index 0567ba5..db4fdda 100755
|
||||
--- a/bin/flow-log2rrd
|
||||
+++ b/bin/flow-log2rrd
|
||||
@@ -1,4 +1,4 @@
|
||||
-#!/usr/local/bin/python
|
||||
+#!/bin/env python
|
||||
|
||||
import getopt
|
||||
import os
|
||||
diff --git a/bin/flow-rpt2rrd b/bin/flow-rpt2rrd
|
||||
index 72a74c7..7698f2b 100755
|
||||
--- a/bin/flow-rpt2rrd
|
||||
+++ b/bin/flow-rpt2rrd
|
||||
@@ -1,4 +1,4 @@
|
||||
-#!/usr/local/bin/python
|
||||
+#!/bin/env python
|
||||
|
||||
import getopt
|
||||
import os
|
||||
diff --git a/bin/flow-rptfmt b/bin/flow-rptfmt
|
||||
index 047d1ba..f663fae 100755
|
||||
--- a/bin/flow-rptfmt
|
||||
+++ b/bin/flow-rptfmt
|
||||
@@ -1,4 +1,4 @@
|
||||
-#!/usr/local/bin/python
|
||||
+#!/bin/env python
|
||||
|
||||
import sys
|
||||
import string
|
Reference in New Issue
Block a user