mirror of
https://github.com/rene-dev/stmbl.git
synced 2026-08-20 23:59:43 +08:00
Fix add version again.
It seems to be difficult to find the right Python executable depending on the operating system.
This commit is contained in:
@@ -1,4 +1,12 @@
|
||||
#!/usr/bin/env python2
|
||||
#! /bin/sh
|
||||
"true" '''\'
|
||||
if command -v python2 > /dev/null; then
|
||||
exec python2 "$0" "$@"
|
||||
else
|
||||
exec python "$0" "$@"
|
||||
fi
|
||||
exit $?
|
||||
'''
|
||||
#
|
||||
# Add CRC checksum and version information to an ELF file
|
||||
# Copyright (C)2015 Thomas Kindler <mail@t-kindler.de>
|
||||
|
||||
Reference in New Issue
Block a user