From 6459c61078dba1feaf91840d013b370d6c14fe37 Mon Sep 17 00:00:00 2001 From: Mingrui Zhang <mingrui.zhang@savoirfairelinux.com> Date: Mon, 21 Dec 2020 12:16:54 -0500 Subject: [PATCH] script: check qt path emptyness for copy-runtime-files.py Change-Id: I6a794b638cffc66cb18924ca0fcf5be0a0fcb987 --- scripts/install.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/scripts/install.sh b/scripts/install.sh index 08780d7e..4c31b8f1 100755 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -197,4 +197,8 @@ make -j"${proc}" make_install "${global}" "${priv_install}" # copy runtime files -python ../copy-runtime-files.py -q ${qt5path} +if [ -z ${qt5path}]; then + python ../copy-runtime-files.py +else + python ../copy-runtime-files.py -q ${qt5path} +fi -- GitLab