Block remapping or unmapping code mappings
[nativeclient.git] / tools / sel_ldr.bash
blobbd10b4347f8ea2e787c94fe84ce28c0076950d7d
1 #!/bin/bash
3 # sel_ldr.bash
4 # A simple shell script for starting up sel_ldr with an enhanced
5 # library path, for Linux. This allows us to install libraries in
6 # a user directory rather than having to put them someplace like
7 # /usr/lib
9 LD_LIBRARY_PATH=$HOME/.mozilla/plugins:$LD_LIBRARY_PATH
10 export LD_LIBRARY_PATH
11 if [ -f $HOME/.mozilla/plugins/sel_ldr_bin.trace ]; then
12 exec $HOME/.mozilla/plugins/sel_ldr_bin.trace "$@"
13 else
14 exec $HOME/.mozilla/plugins/sel_ldr_bin "$@"