Merge pull request 'Detect correct Python version' (#2) from devel into stable
Reviewed-on: #2
This commit is contained in:
commit
baa916df81
|
@ -1,4 +1,11 @@
|
|||
#!/usr/bin/env python3
|
||||
#!/bin/sh
|
||||
'''':
|
||||
for pyint in /usr/libexec/platform-python python3 python python2; do
|
||||
command -v $pyint >/dev/null 2>&1 && exec $pyint "$0" "$@"
|
||||
done
|
||||
echo "$0: No python could be found" >&2
|
||||
exit 1
|
||||
# '''
|
||||
|
||||
import argparse
|
||||
import os
|
||||
|
|
Loading…
Reference in a new issue