Phil | 6fdbebd | 2008-09-12 14:02:13 +0200 | [diff] [blame] | 1 | #! /bin/sh |
2 | DIR=$(dirname $0) | ||||
Pierre LALET | 37cc56c | 2016-03-26 12:39:20 +0100 | [diff] [blame] | 3 | if python --version 2>&1 | grep -q '^Python 2'; then |
Pierre LALET | 6dcd891 | 2016-03-15 09:08:41 +0100 | [diff] [blame] | 4 | PYTHON=python |
5 | else | ||||
6 | PYTHON=python2 | ||||
7 | fi | ||||
8 | PYTHONPATH=$DIR exec $PYTHON -m scapy.__init__ |