Browse Source

Fixed premake5-linux to work when called outside its directory.

Should fix the Travis CI error.
pull/516/head
João Matos 10 years ago
parent
commit
a8aef55d79
  1. 6
      build/premake5-linux

6
build/premake5-linux

@ -1,8 +1,10 @@ @@ -1,8 +1,10 @@
#!/bin/sh
DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
if [ $(uname -m) = "x86_64" ]; then
./premake5-linux-64 $*
$DIR/premake5-linux-64 $*
else
./premake5-linux-32 $*
$DIR/premake5-linux-32 $*
fi

Loading…
Cancel
Save