Skip to content
Snippets Groups Projects
Commit 4f9e6ff2 authored by brad kittenbrink's avatar brad kittenbrink
Browse files

Defensive coding for linux updater script for consistency with alain's work on the mac script.

Should be safer if the user is installing to a path with spaces in it.
parent ac2253ab
No related branches found
No related tags found
No related merge requests found
#! /bin/bash
INSTALL_DIR=$(cd "$(dirname $0)/.." ; pwd)
export LD_LIBRARY_PATH=$INSTALL_DIR/lib
INSTALL_DIR=$(cd "$(dirname "$0")/.." ; pwd)
export LD_LIBRARY_PATH="$INSTALL_DIR/lib"
bin/linux-updater.bin --file "$1" --dest "$INSTALL_DIR" --name "Second Life Viewer 2" --stringsdir "$INSTALL_DIR/skins/default/xui/en" --stringsfile "strings.xml"
if [ $? -ne 0 ]
then touch $2
then touch "$2"
fi
rm -f $1
rm -f "$1"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment