From a24eef91355bd0c66c8cfc7b7c9b93773fccd224 Mon Sep 17 00:00:00 2001 From: David Rose Date: Wed, 22 Sep 2004 23:09:07 +0000 Subject: [PATCH] squawk if attached to wrong PANDATOOL --- pandatool/Package.pp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pandatool/Package.pp b/pandatool/Package.pp index 06a4875a1b..9644421ae1 100644 --- a/pandatool/Package.pp +++ b/pandatool/Package.pp @@ -42,6 +42,9 @@ #if $[eq $[PANDATOOL],] #error You seem to be attached to some trees, but not PANDATOOL! #endif + #if $[ne $[canonical $[PANDATOOL]], $[canonical $[TOPDIR]]] + #error You are not attached to the right PANDATOOL! + #endif #else #defer PANDATOOL_INSTALL $[unixfilename $[INSTALL_DIR]] #defer PANDATOOL_INSTALL_OTHER $[unixfilename $[INSTALL_DIR]]