mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 03:45:46 +00:00
Bug 1444141 - part 3 - fix exports of PATH in sm-tooltool-config.sh; r=sfink
TOOLTOOL_CHECKOUT is typically `.`, which doesn't work so great for adding things to $PATH. We need to turn everything we're adding to $PATH into absolute paths, so $PATH actually works properly.
This commit is contained in:
parent
b63d920479
commit
01b2107f8d
@ -63,5 +63,9 @@ BROWSER_PLATFORM=$PLATFORM_OS$BITS
|
||||
|
||||
# Add all the tooltool binaries to our $PATH.
|
||||
for bin in $TOOLTOOL_CHECKOUT/*/bin $TOOLTOOL_CHECKOUT/VC/bin/Hostx64/x86; do
|
||||
export PATH="$bin:$PATH"
|
||||
if [ ! -d "$bin" ]; then
|
||||
continue
|
||||
fi
|
||||
absbin=$(cd "$bin" && pwd)
|
||||
export PATH="$absbin:$PATH"
|
||||
done
|
||||
|
Loading…
Reference in New Issue
Block a user