Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Use of VERBOSE in debian-cd

From: Bruce Korb <bruce.korb(at)gmail.com>
Date: Fri Oct 26 2007 - 15:33:57 EDT


Hi all,

The debian-cd scripts are not necessarily run by hand. A higher level script may be driving. That, in turn, may be driven by yet another layer of scripting. (In fact, that's what I'm doing now.) Unfortunately, one cannot know that a hierarchy of scripts used by some scripts that are being used by my scripts are going to be unable to cope with a non-numeric value in the environment variable, VERBOSE. I got error messages from "list2cd" because VERBOSE was set to "true". Please consider being careful:

my $verbose = $ENV{VERBOSE} || 0;
if ($verbose !~ m/^\d+$/) {

    $verbose = 0;
}

Thank you. - Bruce

-- 
To UNSUBSCRIBE, email to debian-cd-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Received on Fri Oct 26 15:52:44 2007

This archive was generated by hypermail 2.1.8 : Wed Mar 19 2008 - 06:56:15 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library