From a30ecf87bf42697f531e4dbdb796551433db6a8c Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Wed, 16 Dec 2009 14:53:15 +0000 Subject: [PATCH] tweak for easier troubleshooting --- build.common | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/build.common b/build.common index 4cd00d40..2f5bacef 100644 --- a/build.common +++ b/build.common @@ -1,16 +1,16 @@ # -*-Shell-script-*- # +# $Id$ +# $URL$ +# # Common functions for build scripts used by various packages # incorporated (e.g., build, myplc, myplc-devel, vserver-reference) # # Marc E. Fiuczynski # Copyright (C) 2007 The Trustees of Princeton University # -# $Id$ +# supported distros f8, f10, f12, centos5 # -# supported distros f8, f10, (f11) -- fc[46] probably does not work anymore -# centos5.3 - # returns 'Fedora' or 'CentOS' for now function pl_getDistro() { if [ -f "/etc/redhat-release" ] ; then @@ -257,11 +257,11 @@ function pl_root_mkfedora () { echo xxx -- error ; return 1 fi - public_gpg_key=$(yumconf_gpgkey $yum_conf_repos) - # Do not tolerate errors set -e + public_gpg_key=$(yumconf_gpgkey $yum_conf_repos) + ## make rpms ignore installing stuff to special fs entries like /proc # Because of https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=52725 # you have to use at least one language beside 'C' @@ -680,6 +680,7 @@ function yumconf_mirrors () { return 0 fi done + echo 'yumconf_mirrors in build.common : ran out of mirrors -- BAILING OUT' rm -f $dest_yumconf return 1 } -- 2.47.0