]> git.donarmstrong.com Git - debbugs.git/commitdiff
[project @ 2003-05-03 21:32:09 by doogie]
authordoogie <>
Sun, 4 May 2003 04:32:09 +0000 (20:32 -0800)
committerdoogie <>
Sun, 4 May 2003 04:32:09 +0000 (20:32 -0800)
Fallback to db-h/ when no $location is given.

scripts/errorlib.in

index f425f25d0ff7ad59bd3049cdf79c7145f81bf8e2..09d8b3275950599add23f778fbed3b6fe32458e5 100755 (executable)
@@ -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";
     }
 }