Fix syntax errors

This commit is contained in:
Adam Roben
2013-03-04 16:41:36 -05:00
committed by probablycorey
parent 28d4ea0456
commit 7b32560ce2
2 changed files with 10 additions and 10 deletions

View File

@@ -6,11 +6,11 @@ set -e
# The Setup's environment ourselves. If this isn't done, things like the
# node shim won't be able to find the stuff they need.
if node --version > /dev/null 2>&1; then
# cool
elif [ -e /opt/github/env.sh ]; then
source /opt/github/env.sh
fi
node --version > /dev/null 2>&1 || {
if [ -e /opt/github/env.sh ]; then
source /opt/github/env.sh
fi
}
INPUT_FILE="${1}"
OUTPUT_FILE="${2}"

View File

@@ -6,11 +6,11 @@ set -e
# The Setup's environment ourselves. If this isn't done, things like the
# node shim won't be able to find the stuff they need.
if node --version > /dev/null 2>&1; then
# cool
elif [ -e /opt/github/env.sh ]; then
source /opt/github/env.sh
fi
node --version > /dev/null 2>&1 || {
if [ -e /opt/github/env.sh ]; then
source /opt/github/env.sh
fi
}
INPUT_FILE="${1}"
OUTPUT_FILE="${2}"