From: Ward Vandewege Date: Wed, 20 Feb 2019 22:45:04 +0000 (-0500) Subject: Some build script housekeeping: make the CentOS builds less noisy, and remove X-Git-Tag: 1.4.0~144 X-Git-Url: https://git.arvados.org/arvados.git/commitdiff_plain/ffd42e0f61c902eb1a1a14df61ab53838be01431 Some build script housekeeping: make the CentOS builds less noisy, and remove unused variables from the run-build-packages-python-and-ruby.sh script. No issue # Arvados-DCO-1.1-Signed-off-by: Ward Vandewege --- diff --git a/build/run-build-packages-python-and-ruby.sh b/build/run-build-packages-python-and-ruby.sh index 35f8104450..4c5f39a373 100755 --- a/build/run-build-packages-python-and-ruby.sh +++ b/build/run-build-packages-python-and-ruby.sh @@ -118,9 +118,6 @@ if [[ "$DEBUG" != 0 ]]; then DASHQ_UNLESS_DEBUG= fi -EASY_INSTALL2=$(find_easy_install -$PYTHON2_VERSION "") -EASY_INSTALL3=$(find_easy_install -$PYTHON3_VERSION 3) - RUN_BUILD_PACKAGES_PATH="`dirname \"$0\"`" RUN_BUILD_PACKAGES_PATH="`( cd \"$RUN_BUILD_PACKAGES_PATH\" && pwd )`" # absolutized and normalized if [ -z "$RUN_BUILD_PACKAGES_PATH" ] ; then diff --git a/build/run-library.sh b/build/run-library.sh index e6b086a5a3..58e6f0d888 100755 --- a/build/run-library.sh +++ b/build/run-library.sh @@ -274,7 +274,7 @@ test_package_presence() { echo ${repo_pkg_list} |grep -q ${complete_pkgname} if [ $? -eq 0 ] ; then echo "Package $complete_pkgname exists, not rebuilding!" - curl -o ./${complete_pkgname} http://apt.arvados.org/pool/${D}/main/${repo_subdir}/${complete_pkgname} + curl -s -o ./${complete_pkgname} http://apt.arvados.org/pool/${D}/main/${repo_subdir}/${complete_pkgname} return 1 elif test -f "$WORKSPACE/packages/$TARGET/processed/${complete_pkgname}" ; then echo "Package $complete_pkgname exists, not rebuilding!" @@ -287,11 +287,11 @@ test_package_presence() { else centos_repo="http://rpm.arvados.org/CentOS/7/dev/x86_64/" - repo_pkg_list=$(curl -o - ${centos_repo}) + repo_pkg_list=$(curl -s -o - ${centos_repo}) echo ${repo_pkg_list} |grep -q ${complete_pkgname} if [ $? -eq 0 ]; then echo "Package $complete_pkgname exists, not rebuilding!" - curl -o ./${complete_pkgname} ${centos_repo}${complete_pkgname} + curl -s -o ./${complete_pkgname} ${centos_repo}${complete_pkgname} return 1 elif test -f "$WORKSPACE/packages/$TARGET/processed/${complete_pkgname}" ; then echo "Package $complete_pkgname exists, not rebuilding!"