Last active
December 24, 2015 14:59
-
-
Save Pyppe/6816813 to your computer and use it in GitHub Desktop.
This file contains 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 | |
# - LightTable 0.5.4 does not run with the provided LightTable script on Linux 64bit | |
# - @see https://github.com/Kodowa/Light-Table-Playground/issues/810 | |
# - This script links the existing libudev.so.1 as libudev.so.0 *within installation dir* | |
# - Tested with Ubuntu 13.04 64bit | |
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" | |
LOCAL_LIB=$DIR/libudev.so.0 | |
if [[ ! -e $LOCAL_LIB ]]; then | |
ln -sn /lib/x86_64-linux-gnu/libudev.so.1 $LOCAL_LIB | |
echo "Created $LOCAL_LIB symlink" | |
fi | |
if [[ -n "$LD_LIBRARY_PATH" ]]; then | |
LD_LIBRARY_PATH="$DIR:/lib:$LD_LIBRARY_PATH" | |
else | |
LD_LIBRARY_PATH="$DIR:/lib" | |
fi | |
export LD_LIBRARY_PATH | |
$DIR/ltbin |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment