summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWook Song <wook16.song@samsung.com>2024-01-31 19:20:26 +0900
committerWook Song <wook16.song@samsung.com>2024-01-31 19:31:30 +0900
commite0887dea3538fe252de0ca639453ef92340dd068 (patch)
treeadcaf6ed7dfc4a82cba2280d4b6cac09e15aa07f
parentf51247caea6fa495083bac03a4792547f58849e0 (diff)
downloaddldt-accepted/tizen_8.0_unified.tar.gz
dldt-accepted/tizen_8.0_unified.tar.bz2
dldt-accepted/tizen_8.0_unified.zip
Dist/Tizen: Fix build failures when .gitmodules is not supportedaccepted/tizen/8.0/unified/20240201.164546tizen_8.0accepted/tizen_8.0_unified
This patch fixes build failures in the below cases; - the case when .gitmodule is omitted in importing the repository - the case when git-submodule is not supported in the build system Change-Id: I03e08d25799861d4ee995f13e7bc0e5029afae3b Signed-off-by: Wook Song <wook16.song@samsung.com>
-rw-r--r--packaging/openvino.spec4
1 files changed, 2 insertions, 2 deletions
diff --git a/packaging/openvino.spec b/packaging/openvino.spec
index b933eccf6..2bc181481 100644
--- a/packaging/openvino.spec
+++ b/packaging/openvino.spec
@@ -101,9 +101,9 @@ cp %{SOURCE1003} .
pushd inference-engine
pushd thirdparty
tar zxf %{external_ade_archive}.tar.gz
-mv %{external_ade_archive}/* ade/
+mkdir -p ade && mv %{external_ade_archive}/* ade/
tar zxf %{external_ngraph_archive}.tar.gz
-mv %{external_ngraph_archive}/* ngraph/
+mkdir -p ngraph && mv %{external_ngraph_archive}/* ngraph/
rm -rf *.tar.gz %{external_ade_archive} %{external_ngraph_archive}
popd
rm -rf build && mkdir -p build