Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Make GECKO_PATH absolute in test.sh #7

Merged
merged 1 commit into from

2 participants

@marshall
Owner

Also simplified the absolute path logic

@philikon philikon merged commit a822191 into mozilla-b2g:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on May 15, 2012
  1. @marshall

    the default GECKO_PATH should be absolute for marionette to be happy.

    marshall authored
    also simplified the absolute path lookup a bit
This page is out of date. Refresh to see the latest.
Showing with 2 additions and 3 deletions.
  1. +2 −3 test.sh
View
5 test.sh
@@ -3,12 +3,11 @@
. setup.sh
# Determine the absolute path of our location.
-B2G_HOME=`dirname $0`
-pushd $B2G_HOME && B2G_HOME=$PWD && popd
+B2G_HOME=$(cd `dirname $0`; pwd)
# Use default Gecko location if it's not provided in .config.
if [ -z $GECKO_PATH ]; then
- GECKO_PATH=gecko
+ GECKO_PATH=$B2G_HOME/gecko
fi
# Run standard set of tests by default. Command line arguments can be
Something went wrong with that request. Please try again.