Make label a bit more accurate.
authorBrian Aker <brian@tangent.org>
Tue, 30 Apr 2013 05:21:41 +0000 (01:21 -0400)
committerBrian Aker <brian@tangent.org>
Tue, 30 Apr 2013 05:21:41 +0000 (01:21 -0400)
bootstrap.sh

index 9a549f06cc9994fc41944291ed956778dbc38bbc..606d63d660ad01574b207c4d6729ed203f87d08c 100755 (executable)
@@ -1714,10 +1714,10 @@ function main ()
   # We don't want Jenkins overriding other variables, so we NULL them.
   if [ -z "$MAKE_TARGET" ]; then
     if $jenkins_build_environment; then
-      if [[ -n "$label" ]]; then
-        check_make_target $label
+      if [[ -n "$LABEL" ]]; then
+        check_make_target $LABEL
         if [ $? -eq 0 ]; then
-          MAKE_TARGET="$label"
+          MAKE_TARGET="$LABEL"
         fi
       fi