File tree Expand file tree Collapse file tree 1 file changed +18
-5
lines changed Expand file tree Collapse file tree 1 file changed +18
-5
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ ADD_ON_DIR=./firefox
88NODE_RETIRE_JS_FILE=./node/lib/retire.js
99FX_RETIRE_JS_FILE=$ADD_ON_DIR /lib/retire.js
1010FX_PROFILE_DIR=" "
11-
11+ FX_PATH= " "
1212target=$1
1313release=false
1414
7171 shift
7272 FX_PROFILE_DIR=$2
7373 ;;
74+ -b | --binarypath )
75+ shift
76+ FX_PATH=$2
77+ ;;
7478 -release )
7579 shift
7680 release=true
@@ -92,12 +96,21 @@ function runTests {
9296# ------------------------------------------------------------------------------
9397
9498function runBrowser {
95- if [ -z $FX_PROFILE_DIR ]
99+ PROG_ARG=" "
100+ if ! [ -z $FX_PROFILE_DIR ]
96101 then
97- jpm run
98- else
99- jpm run -p $FX_PROFILE_DIR
102+ PROG_ARG=" $PROG_ARG -p $FX_PROFILE_DIR "
103+ fi
104+ # jpm run -p $FX_PROFILE_DIR
105+ if ! [ -z $FX_PATH ]
106+ then
107+ PROG_ARG=" $PROG_ARG -b $FX_PATH "
108+ echo $PROG_ARG
100109 fi
110+ echo $PROG_ARG
111+ echo " jpm run @@$PROG_ARG @@"
112+ jpm run $PROG_ARG
113+ echo $PROG_ARG
101114}
102115
103116# ------------------------------------------------------------------------------
You can’t perform that action at this time.
0 commit comments