love-linux-builder/snap/command-love.wrapper

7 lines
355 B
Text
Raw Normal View History

2016-12-02 15:31:44 +00:00
#!/bin/sh
export PATH="$SNAP/usr/sbin:$SNAP/usr/bin:$SNAP/sbin:$SNAP/bin:$PATH"
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$SNAP/lib:$SNAP/usr/lib:$SNAP/lib/x86_64-linux-gnu:$SNAP/usr/lib/x86_64-linux-gnu"
export LD_LIBRARY_PATH="$SNAP/usr/lib:$SNAP/usr/lib/x86_64-linux-gnu:$LD_LIBRARY_PATH"
export XDG_DATA_HOME="$SNAP_USER_COMMON"
exec "$SNAP/love" "$@"