run on Linux

This commit is contained in:
David Rose 2005-05-26 18:51:39 +00:00
parent 7c3a6f0f87
commit d08a4bcd2b

View File

@ -21,9 +21,13 @@ if [ -z "${INSTALL_DIR}" ]; then
fi fi
fi fi
if [ ! -e ${INSTALL_DIR}/lib/pandac ]; then
mkdir ${INSTALL_DIR}/lib/pandac || exit
fi
if [ -d ${INSTALL_DIR}/lib/pandac ]; then if [ -d ${INSTALL_DIR}/lib/pandac ]; then
find ${INSTALL_DIR}/lib/pandac/. -maxdepth 1 -type f -print0 | xargs -0 rm rm `find ${INSTALL_DIR}/lib/pandac/. -maxdepth 1 -type f -print`
cp ${DIRECT}/src/extensions_native/PandaModules.py ${INSTALL_DIR}/lib/pandac/. cp ${DIRECT}/src/extensions_native/PandaModules.py ${INSTALL_DIR}/lib/pandac/.
cp ${DIRECT}/src/extensions_native/libpandaModules.py ${INSTALL_DIR}/lib/pandac/. cp ${DIRECT}/src/extensions_native/libpandaModules.py ${INSTALL_DIR}/lib/pandac/.