aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Tomasz NapieraƂa <trasz@freebsd.org>2018-07-17 19:02:53 +0100
committerAndrew Waterman <aswaterman@gmail.com>2018-07-17 11:02:53 -0700
commit3aa320603b37c961b9b5689d883b1e24a89f5167 (patch)
treed9ee7a9995e0f2e84426d1ea20a2a54f0dab7a54
parentc13a759f2f17795d555d1d29e0770ca4dcaeb9f1 (diff)
downloadriscv-opcodes-3aa320603b37c961b9b5689d883b1e24a89f5167.zip
riscv-opcodes-3aa320603b37c961b9b5689d883b1e24a89f5167.tar.gz
riscv-opcodes-3aa320603b37c961b9b5689d883b1e24a89f5167.tar.bz2
Make the hashbang portable (#20)
Not all systems put Python binary in /usr/bin; fix it as usual by using env(1)
-rwxr-xr-xparse-opcodes2
1 files changed, 1 insertions, 1 deletions
diff --git a/parse-opcodes b/parse-opcodes
index 1d24c77..bb85865 100755
--- a/parse-opcodes
+++ b/parse-opcodes
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
import math
import sys