From 8628ed3d985b90bf036b953e4f92e634cf443c8e Mon Sep 17 00:00:00 2001 From: doogie <> Date: Sat, 3 May 2003 20:32:09 -0800 Subject: [PATCH] [project @ 2003-05-03 21:32:09 by doogie] Fallback to db-h/ when no $location is given. --- scripts/errorlib.in | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/errorlib.in b/scripts/errorlib.in index f425f25d..09d8b327 100755 --- a/scripts/errorlib.in +++ b/scripts/errorlib.in @@ -1,5 +1,5 @@ # -*- perl -*- -# $Id: errorlib.in,v 1.20 2003/05/03 20:40:56 doogie Exp $ +# $Id: errorlib.in,v 1.21 2003/05/03 21:32:09 doogie Exp $ sub F_SETLK { 6; } sub F_WRLCK{ 1; } $flockstruct= 'sslll'; # And there ought to be something for this too. @@ -42,10 +42,10 @@ sub getlocationpath { return "$gSpoolDir/archive"; } elsif ($location eq 'db') { return "$gSpoolDir/db"; - } elsif ($location eq 'db-h') { - return "$gSpoolDir/db-h"; - } else { + } elsif ($location eq 'infomagic-95') { return "/org/bugs.debian.org/joeyh-old/infomagic-95"; + } else { + return "$gSpoolDir/db-h"; } } -- 2.39.5