mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 14:22:01 +00:00
Fix to make installer runnable from anywhere, bug 76223, r=sgehani, sr=alecf, a=asa
This commit is contained in:
parent
b8a6a8062f
commit
87118b8036
@ -45,6 +45,13 @@ export PATH
|
||||
MOZILLA_FIVE_HOME=.
|
||||
export MOZILLA_FIVE_HOME
|
||||
|
||||
./mozilla-installer-bin --sync $@
|
||||
BASEDIR=`dirname $0`
|
||||
if [ "$BASEDIR" = "" ]; then
|
||||
echo "dirname is not in your PATH"
|
||||
./mozilla-installer-bin --sync $@
|
||||
else
|
||||
cd ${BASEDIR:-.}
|
||||
./mozilla-installer-bin --sync $@
|
||||
fi
|
||||
|
||||
rm -rf /tmp/.tmp.xi.*
|
||||
|
Loading…
Reference in New Issue
Block a user