From: doogie <> Date: Sun, 4 May 2003 04:32:09 +0000 (-0800) Subject: [project @ 2003-05-03 21:32:09 by doogie] X-Git-Tag: release/2.6.0~918 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=8628ed3d985b90bf036b953e4f92e634cf443c8e;p=debbugs.git [project @ 2003-05-03 21:32:09 by doogie] Fallback to db-h/ when no $location is given. --- 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"; } }