]> git.ipfire.org Git - thirdparty/vectorscan.git/commitdiff
Use env to get python bin, don't hard code path
authorMatthew Barr <matthew.barr@intel.com>
Wed, 7 Jun 2017 04:45:57 +0000 (14:45 +1000)
committerMatthew Barr <matthew.barr@intel.com>
Fri, 9 Jun 2017 00:12:03 +0000 (10:12 +1000)
tools/hsbench/scripts/CorpusBuilder.py
tools/hsbench/scripts/gutenbergCorpus.py
tools/hsbench/scripts/linebasedCorpus.py

index 5baed2bd5546193fcb20315cdcf602f7427b2c37..da2d593f5e5b713f9d63fa2244b4f17a62f8210e 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 
 '''
 A module to construct corpora databases for the Hyperscan benchmarker
index fa1b1570d63212d9a563efdfdf5f709994d8d438..62752a4d231fe154f27f0eef2ce6c18504a9aa8b 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 
 '''
 This script creates a Hyperscan benchmarking corpus database from a supplied
index bde20e39883046b0e4e23c3f98214fcac2baf37b..b27f8674f921db199523e638190606d8531af468 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 
 '''
 Simple script to take a file full of lines of text and push them into a