Skip to content

Commit

Permalink
This isn't needed in bash
Browse files Browse the repository at this point in the history
svn path=/src/trunk/; revision=18090
  • Loading branch information
dwaynebailey committed Mar 18, 2012
1 parent b6e598b commit 8570f64
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tools/mozilla/build_firefox.sh
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,9 @@ LANGPACK_DIR="${BUILD_DIR}/xpi"
FF_VERSION="4.0b7pre"

# Include current dir in path (for buildxpi and others)
CURDIR=`dirname $0`
if [ x"$CURDIR" == x ] || [ x"$CURDIR" == x. ]; then
CURDIR=`pwd`
CURDIR=$(dirname $0)
if [ "$CURDIR" == "" -o "$CURDIR" == '.' ]; then
CURDIR=$(pwd)
fi
PATH=${CURDIR}:${PATH}

Expand Down

0 comments on commit 8570f64

Please sign in to comment.