From db4752fb2fbdfe619eb628f066b2d8df9559913d Mon Sep 17 00:00:00 2001
From: Dilawar Singh <dilawars@ncbs.res.in>
Date: Thu, 1 Mar 2018 12:51:58 +0530
Subject: [PATCH] Fixed extra /usr instroduced by bdist.

---
 CMakeLists.txt | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 57853e4d..6968c32f 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -125,7 +125,8 @@ endif()
 set(MOOSE_GUI_DIR ${CMAKE_SOURCE_DIR}/moose-gui)
 
 # Install pymoose. Use tar.gz in PYMOOSE_BUILD_DIR and unarchive it.
-install(DIRECTORY ${PYMOOSE_INSTALL_DIR}/
+# /usr is prefixed by bdist so we need to replace it.
+install(DIRECTORY ${PYMOOSE_INSTALL_DIR}/usr/
     DESTINATION ${CMAKE_INSTALL_PREFIX}
     PATTERN ".git" EXCLUDE
     PATTERN "*.pyc" EXCLUDE
-- 
GitLab