[ARVADOS] created: 6da5c2c733a3a3194887502d5cdb5a8446fbf7e0

Git user git at public.curoverse.com
Tue Jan 10 19:36:36 EST 2017


        at  6da5c2c733a3a3194887502d5cdb5a8446fbf7e0 (commit)


commit 6da5c2c733a3a3194887502d5cdb5a8446fbf7e0
Author: Ward Vandewege <ward at curoverse.com>
Date:   Tue Jan 10 19:36:08 2017 -0500

    run-build-packages-one-target.sh should respect the --debug flag.
    
    refs #10858

diff --git a/build/run-build-packages-one-target.sh b/build/run-build-packages-one-target.sh
index 348dd7b..6a1ec9c 100755
--- a/build/run-build-packages-one-target.sh
+++ b/build/run-build-packages-one-target.sh
@@ -72,6 +72,7 @@ while [ $# -gt 0 ]; do
             ;;
         --debug)
             DEBUG=" --debug"
+            ARVADOS_DEBUG="1"
             ;;
         --command)
             COMMAND="$2"; shift
@@ -177,7 +178,7 @@ if [[ -n "$test_packages" ]]; then
         echo "START: $p test on $IMAGE" >&2
         if docker run --rm \
             "${docker_volume_args[@]}" \
-            --env ARVADOS_DEBUG=1 \
+            --env ARVADOS_DEBUG=$ARVADOS_DEBUG \
             --env "TARGET=$TARGET" \
             --env "WORKSPACE=/arvados" \
             "$IMAGE" $COMMAND $p
@@ -194,7 +195,7 @@ else
     echo "START: build packages on $IMAGE" >&2
     if docker run --rm \
         "${docker_volume_args[@]}" \
-        --env ARVADOS_DEBUG=1 \
+        --env ARVADOS_DEBUG=$ARVADOS_DEBUG \
         --env "ONLY_BUILD=$ONLY_BUILD" \
         "$IMAGE" $COMMAND
     then

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list