Skip to content
Snippets Groups Projects
Commit 9cd128d6 authored by deuce's avatar deuce
Browse files

Simple executable wrapper for *nix using new build dirs

parent 93c13393
No related branches found
No related tags found
No related merge requests found
#!/bin/sh
os=`uname | tr "[A-Z]" "[a-z]"`
if [ -x gcc.$os.exe.release/$0 ]
exec gcc.$os.exe.release/$0 $@
elif [ -x gcc.$os.exe.debug/$0 ]
exec gcc.$os.exe.debug/$0 $@
elif [ -x bcc.$os.exe.release/$0 ]
exec bcc.$os.exe.release/$0 $@
elif [ -x bcc.$os.exe.debug/$0 ]
exec bcc.$os.exe.debug/$0 $@
elif [ -x *.$os.exe.release/$0 ]
exec *.$os.exe.release/$0 $@
elif [ -x *.$os.exe.debug/$0 ]
exec *.$os.exe.debug/$0 $@
fi
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment