From 758997311e61c2bd71aac857b69c94e5275b3e04 Mon Sep 17 00:00:00 2001 From: David Rose Date: Wed, 22 Sep 2004 23:08:45 +0000 Subject: [PATCH] squawk if attached to wrong PANDA --- panda/Package.pp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/panda/Package.pp b/panda/Package.pp index 52cd2f9344..f4a7a628e4 100644 --- a/panda/Package.pp +++ b/panda/Package.pp @@ -40,6 +40,9 @@ #if $[eq $[PANDA],] #error You seem to be attached to some trees, but not PANDA! #endif + #if $[ne $[canonical $[PANDA]], $[canonical $[TOPDIR]]] + #error You are not attached to the right PANDA! + #endif #else #defer PANDA_INSTALL $[unixfilename $[INSTALL_DIR]] #defer PANDA_INSTALL_OTHER $[unixfilename $[INSTALL_DIR]]