squawk if attached to wrong PANDA

This commit is contained in:
David Rose 2004-09-22 23:08:45 +00:00
parent 7117883a22
commit 758997311e

View File

@ -40,6 +40,9 @@
#if $[eq $[PANDA],] #if $[eq $[PANDA],]
#error You seem to be attached to some trees, but not PANDA! #error You seem to be attached to some trees, but not PANDA!
#endif #endif
#if $[ne $[canonical $[PANDA]], $[canonical $[TOPDIR]]]
#error You are not attached to the right PANDA!
#endif
#else #else
#defer PANDA_INSTALL $[unixfilename $[INSTALL_DIR]] #defer PANDA_INSTALL $[unixfilename $[INSTALL_DIR]]
#defer PANDA_INSTALL_OTHER $[unixfilename $[INSTALL_DIR]] #defer PANDA_INSTALL_OTHER $[unixfilename $[INSTALL_DIR]]