Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix up shell scripts #12299

Merged
merged 1 commit into from Jul 8, 2016
Merged
Changes from all commits
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

@@ -1,4 +1,12 @@
#!/bin/bash
#!/usr/bin/env bash

# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

set -o errexit
set -o nounset
set -o pipefail

if [ $# -eq 0 ]; then
echo "Usage: $0 /path/to/gecko/objdir [other-regen.py-flags]"
@@ -13,7 +21,8 @@ fi

# Check for /usr/include
if [ ! -d /usr/include ]; then
echo "/usr/include doesn't exist. Mac users may need to run xcode-select --install."
echo "/usr/include doesn't exist." \
"Mac users may need to run xcode-select --install."
exit 1
fi

@@ -1,4 +1,12 @@
#!/bin/bash
#!/usr/bin/env bash

# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

set -o errexit
set -o nounset
set -o pipefail

# Run in the tools directory.
cd "$(dirname $0)"
@@ -12,7 +20,8 @@ fi

# Make sure we have llvm38.
if [ ! -x "$(command -v clang-3.8)" ]; then
echo "llmv38 must be installed. Mac users should |brew install llvm38|, Linux varies by distro."
echo "llmv38 must be installed." \

This comment has been minimized.

Copy link
@waddlesplash
"Mac users should |brew install llvm38|, Linux varies by distro."
exit 1
fi

ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.