db82b6fedb
This permits Magenta to build properly on systems where bash is not the default shell and/or is installed in locations other than /bin. Change-Id: Ic95e215c5d28b1a6e653bec53283540868c628f8
16 linhas
402 B
Bash
16 linhas
402 B
Bash
#!/usr/bin/env bash
|
|
|
|
# Copyright 2016 The Fuchsia Authors
|
|
# Copyright (c) 2008 Travis Geiselbrecht
|
|
#
|
|
# Use of this source code is governed by a MIT-style
|
|
# license that can be found in the LICENSE file or at
|
|
# https://opensource.org/licenses/MIT
|
|
|
|
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
|
LOCAL_TOOLPATH="$DIR/toolpaths.local"
|
|
if [ -e "$LOCAL_TOOLPATH" ]
|
|
then
|
|
source $LOCAL_TOOLPATH
|
|
fi
|