Fix wrong message during ./build kvm_vision add_to_kvmapp

This commit is contained in:
Voranto
2026-03-05 15:57:44 +01:00
committed by GitHub
parent 44caee21ab
commit 5fe6d0d48f

View File

@@ -162,7 +162,13 @@ then
if [ -e $SOURCE_PATH ]
then
cp -rf $SOURCE_PATH $TARGET_PATH
echo -e "\e[36m[build] \e[32mkvm_system has been moved to kvmapp.\e[0m"
if [ "$Project_Name" = "kvm_system" ]
then
echo -e "\e[36m[build] \e[32mkvm_system has been moved to kvmapp.\e[0m"
else
echo -e "\e[36m[build] \e[32mkvm_vision has been moved to kvmapp.\e[0m"
fi
else
echo -e "\e[36m[build] \e[31mThe source file does not exist. Please compile using \e[34m./build kvm_system \e[31mfirst.\e[0m"
fi