Review at  https://gerrit.osmocom.org/2228

asn1tostruct.py: specify python version in shebang

The script is expected to be run using python 2.x, but nowadays some
distros are already using python 3 as default, which will fail to run
this script.

This change fixes compilation in my Archlinux box.

Change-Id: I6eb95351538a64f2b23d638824972818591b1b66
---
M asn1/utils/asn1tostruct.py
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.osmocom.org:29418/osmo-iuh refs/changes/28/2228/1

diff --git a/asn1/utils/asn1tostruct.py b/asn1/utils/asn1tostruct.py
index 1a2d95f..8364c27 100755
--- a/asn1/utils/asn1tostruct.py
+++ b/asn1/utils/asn1tostruct.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python2
 
 import re, os, sys, string
 import datetime

-- 
To view, visit https://gerrit.osmocom.org/2228
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I6eb95351538a64f2b23d638824972818591b1b66
Gerrit-PatchSet: 1
Gerrit-Project: osmo-iuh
Gerrit-Branch: master
Gerrit-Owner: Pau Espin Pedrol <pes...@sysmocom.de>

Reply via email to