Created
November 17, 2016 23:48
-
-
Save x42/7484e610638fb125bfb7af19c7d5b9b9 to your computer and use it in GitHub Desktop.
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/sh | |
set -e | |
for d in ~/.u-he/*/dialog.[36][24]; do | |
if test -f $d.real; then continue; fi | |
mv "$d" "$d.real" | |
cat > $d << EOF | |
#!/bin/sh | |
unset LD_LIBRARY_PATH | |
exec \$(readlink -f \$0).real "\$@" | |
EOF | |
chmod +x $d | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment