From 7117883a22fe8cc8fc333774846b55612fe5dde2 Mon Sep 17 00:00:00 2001 From: David Rose Date: Wed, 22 Sep 2004 23:08:28 +0000 Subject: [PATCH] squawk if attached to wrong DTOOL --- dtool/Package.pp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dtool/Package.pp b/dtool/Package.pp index 96c1fbd543..aa0722eabc 100644 --- a/dtool/Package.pp +++ b/dtool/Package.pp @@ -40,6 +40,9 @@ #if $[eq $[DTOOL],] #error You seem to be attached to some trees, but not DTOOL! #endif + #if $[ne $[canonical $[DTOOL]], $[canonical $[TOPDIR]]] + #error You are not attached to the right DTOOL! + #endif #else // Otherwise, if we are not attached, install in the standard place // (unless the user specifies otherwise).