From 2dd2de48a97dbb5e7c3de48aa02ae6fa823f2d12 Mon Sep 17 00:00:00 2001
From: Amos Yang <amos.yang@qt.io>
Date: Thu, 9 Sep 2021 13:43:11 +0800
Subject: [PATCH] update ubuntu_build.sh

---
 ubuntu_build.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/ubuntu_build.sh b/ubuntu_build.sh
index 977ff0760..e3ba4323c 100755
--- a/ubuntu_build.sh
+++ b/ubuntu_build.sh
@@ -30,8 +30,8 @@ cmake --build ./build_$BUILD_TYPE --target all
 cmake --install ./build_$BUILD_TYPE
 
 cp -rf ./Libs/PluginFramework/service ./install_$BUILD_TYPE/include/ctk-0.1
-rm -rf ../ctk/$BUILD_TYPE/ && mkdir ../ctk/$BUILD_TYPE/ && cp -rf ./install_$BUILD_TYPE/* ../ctk/$BUILD_TYPE/
-rm -rf ../ctk/$BUILD_TYPE/lib/ctk-0.1/CMake/
+rm -rf ../../ctk/$BUILD_TYPE/ && mkdir -p ../../ctk/$BUILD_TYPE/ && cp -rf ./install_$BUILD_TYPE/* ../../ctk/$BUILD_TYPE/
+rm -rf ../../ctk/$BUILD_TYPE/lib/ctk-0.1/CMake/
 
 # SuperBuild.cmake
 # INSTALL_COMMAND ${_INSTALL_CMD}
\ No newline at end of file
-- 
GitLab