summaryrefslogtreecommitdiffstats
path: root/screwdriver/detect-what-to-build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'screwdriver/detect-what-to-build.sh')
-rwxr-xr-xscrewdriver/detect-what-to-build.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/screwdriver/detect-what-to-build.sh b/screwdriver/detect-what-to-build.sh
index 401f78e0312..9c22a9463e2 100755
--- a/screwdriver/detect-what-to-build.sh
+++ b/screwdriver/detect-what-to-build.sh
@@ -26,9 +26,9 @@ elif [[ -z $FILES ]]; then
elif ! grep -v -E "(\.h|\.hh|\.hxx|\.c|\.cpp|\.cxx)$" <<< "$FILES" &> /dev/null; then
SHOULD_BUILD=cpp
elif ! grep -v -E "(\.java)$" <<< "$FILES" &> /dev/null; then
- SHOULD_BUILD=java
+ SHOULD_BUILD=java
elif ! grep -v -E "(\.go)$" <<< "$FILES" &> /dev/null; then
- SHOULD_BUILD=go
+ SHOULD_BUILD=go
else
SHOULD_BUILD=all
fi