This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# making sure we're in the correct dir | |
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"; cd ${DIR} | |
# get the architecture | |
arch=$(uname -m) | |
# this hack is only needed on 32 bit for some reason | |
if [[ ''$arch'' == ''i686'' ]]; then | |
# make sure libraries are loaded from the local directory |