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:
Sync
2016-01-06 00:52:20 +01:00
parent 412be84062
commit 058927e1b3
+9 -1
View File
@@ -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>