From 1e9de82d6b6423f27dfaa4964787bc24f192ab20 Mon Sep 17 00:00:00 2001
From: Robert Ricci <ricci@cs.utah.edu>
Date: Tue, 5 Mar 2002 21:07:21 +0000
Subject: [PATCH] Before calling schemacheck, change into its directory, so
 that the paths filled in by configure are correct.

---
 GNUmakefile.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/GNUmakefile.in b/GNUmakefile.in
index 59da431ca0..e2a4b4ffca 100644
--- a/GNUmakefile.in
+++ b/GNUmakefile.in
@@ -69,7 +69,7 @@ tipserv-install:
 # tell, you can't put ifeq()'s inside of targets
 #
 ifeq ($(TBROOT),/usr/testbed)
-SCHEMACHECK= perl $(OBJDIR)/db/schemacheck
+SCHEMACHECK= cd $(OBJDIR)/db && perl schemacheck
 else
 SCHEMACHECK= @echo "Skipping schema check, since prefix isn't /usr/testbed"
 endif
-- 
GitLab