Merge branch '15003-real-configs-flagged-unknown'
[arvados.git] / build / run-build-test-packages-one-target.sh
index b936842e69ece32783003ebfeee94f7eacc371b0..962940b799bd1907cc0540dd60a0f96643ebeb18 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/bash 
+#!/bin/bash
 # Copyright (C) The Arvados Authors. All rights reserved.
 #
 # SPDX-License-Identifier: AGPL-3.0
@@ -10,12 +10,12 @@ Syntax:
         WORKSPACE=/path/to/arvados $(basename $0) [options]
 
 --target <target>
-    Distribution to build packages for (default: debian8)
+    Distribution to build packages for (default: debian9)
 --upload
     If the build and test steps are successful, upload the packages
     to a remote apt repository (default: false)
 --rc
-    If the build is for a Release Candidate this param must be passed   
+    Optional Parameter to build Release Candidate
 --build-version <version>
     Version to build (default:
     \$ARVADOS_BUILDING_VERSION-\$ARVADOS_BUILDING_ITERATION or
@@ -48,8 +48,9 @@ if [ $? -ne 0 ]; then
     exit 1
 fi
 
-TARGET=debian8
+TARGET=debian9
 UPLOAD=0
+RC=0
 
 declare -a build_args=()
 
@@ -69,7 +70,7 @@ while [ $# -gt 0 ]; do
             ;;
         --rc)
             RC=1
-            ;;    
+            ;;
         --build-version)
             build_args+=("$1" "$2")
             shift