Skip to content

Instantly share code, notes, and snippets.

View shadowofsoul's full-sized avatar

David Rene Comba Lareu shadowofsoul

View GitHub Profile
@shadowofsoul
shadowofsoul / run.sh
Created May 27, 2016 14:32 — forked from grapefrukt/run.sh
Run script that fixes missing libraries for 32 bit builds only
#!/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