X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/2f6a83dba97c5dbcbb3b077deafaa08797293edb..001a60dff02545c2d2476a437b1846c9ae633941:/build/run-library.sh diff --git a/build/run-library.sh b/build/run-library.sh index 8c446b9bb4..fb4df6a792 100755 --- a/build/run-library.sh +++ b/build/run-library.sh @@ -1,4 +1,4 @@ -#!/bin/bash -x +#!/bin/bash # Copyright (C) The Arvados Authors. All rights reserved. # # SPDX-License-Identifier: AGPL-3.0 @@ -277,10 +277,10 @@ test_package_presence() { fi repo_pkg_list=$(curl -o - http://apt.arvados.org/pool/${D}/main/${repo_subdir}/) - echo ${repo_pkg_list} |grep -q ${pkgname} + echo ${repo_pkg_list} |grep -q ${complete_pkgname} if [ $? -eq 0 ]; then echo "Package $complete_pkgname exists, not rebuilding!" - curl -o ./${pkgname} http://apt.arvados.org/pool/${D}/main/${repo_subdir}/${pkgname} + curl -o ./${complete_pkgname} http://apt.arvados.org/pool/${D}/main/${repo_subdir}/${complete_pkgname} return 1 else echo "Package $complete_pkgname not found, building" @@ -291,10 +291,10 @@ test_package_presence() { centos_repo="http://rpm.arvados.org/CentOS/7/dev/x86_64/" repo_pkg_list=$(curl -o - ${centos_repo}) - echo ${repo_pkg_list} |grep -q ${pkgname} + echo ${repo_pkg_list} |grep -q ${complete_pkgname} if [ $? -eq 0 ]; then echo "Package $complete_pkgname exists, not rebuilding!" - curl -o ./${pkgname} ${centos_repo}${pkgname} + curl -o ./${complete_pkgname} ${centos_repo}${complete_pkgname} return 1 else echo "Package $complete_pkgname not found, building"