summaryrefslogtreecommitdiff
path: root/indra/viewer_components/updater/scripts/linux
diff options
context:
space:
mode:
authorOz Linden <oz@lindenlab.com>2010-12-24 09:07:06 -0500
committerOz Linden <oz@lindenlab.com>2010-12-24 09:07:06 -0500
commitef1c3aac889d118530994e878d83426d4fc2ca7c (patch)
treedd3d1240a8f5e9b7f1a60d7447b9aa3d624ada88 /indra/viewer_components/updater/scripts/linux
parentf421e8701b3ef5b0230b06602fc5e937382ccc68 (diff)
parent14d830ca43a7114140ebeb16a76829db4d21a95b (diff)
merge fix for storm-784
Diffstat (limited to 'indra/viewer_components/updater/scripts/linux')
-rw-r--r--indra/viewer_components/updater/scripts/linux/update_install8
1 files changed, 4 insertions, 4 deletions
diff --git a/indra/viewer_components/updater/scripts/linux/update_install b/indra/viewer_components/updater/scripts/linux/update_install
index fef5ef7d09..88451340ec 100644
--- a/indra/viewer_components/updater/scripts/linux/update_install
+++ b/indra/viewer_components/updater/scripts/linux/update_install
@@ -1,10 +1,10 @@
#! /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 echo $3 >> "$2"
fi
-rm -f $1
+rm -f "$1"