Skip to content

Commit

Permalink
Drop use of setpath and rather configure PATH and PYTHONPATH correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
dwaynebailey committed Mar 20, 2012
1 parent 2c6f480 commit 51c183c
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions tools/mozilla/build_firefox.sh
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,14 @@ POUPDATED_DIR_REL=`echo ${POUPDATED_DIR} | sed "s#${BUILD_DIR}/##"`
else
svn co https://translate.svn.sourceforge.net/svnroot/translate/src/trunk ${TOOLS_DIR}
fi
(cd ${TOOLS_DIR}; ./setuppath)

. ${TOOLS_DIR}/setpath
export PYTHONPATH="${TOOLS_DIR}":"$PYTHONPATH"
export PATH="${TOOLS_DIR}/translate/tools":\
"${TOOLS_DIR}/translate/translate/convert":\
"${TOOLS_DIR}/translate/translate/tools":\
"${TOOLS_DIR}/translate/translate/filters":\
"${TOOLS_DIR}/translate/tools/mozilla":\
"$PATH"

if [ $opt_vc ]; then
if [ -d "${MOZCENTRAL_DIR}/.hg" ]; then
Expand Down

0 comments on commit 51c183c

Please sign in to comment.