fix to generate_makefile to allow execution via double-clicking in the OS X Finder

This commit is contained in:
Gered 2012-12-20 22:45:21 -05:00
parent 70365b0775
commit 3a3bd08972

View file

@ -1,3 +1,4 @@
#!/bin/sh #!/bin/sh
cd "$(dirname "$0")"
type premake4 >/dev/null 2>&1 || { echo >&2 "'premake4' not found in your path."; exit 1; } type premake4 >/dev/null 2>&1 || { echo >&2 "'premake4' not found in your path."; exit 1; }
premake4 --file=premake.lua gmake premake4 --file=premake.lua gmake