aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xlibs/project9
1 files changed, 7 insertions, 2 deletions
diff --git a/libs/project b/libs/project
index 4b6d38d7..fb986f89 100755
--- a/libs/project
+++ b/libs/project
@@ -988,6 +988,11 @@ project_install_check() {
local rule
local path
+ if ! [[ -d $install_path ]]
+ then
+ return 1
+ fi
+
# Install built files first.
for argument in "" "$@"
do
@@ -1017,7 +1022,7 @@ project_install_check() {
if ! [[ -f "$destination_path" ]] && ! [[ -d "$destination_path" ]]
then
- false
+ return 1
fi
done < "$configs_install_path"
done
@@ -1051,7 +1056,7 @@ project_install_check() {
if ! [[ -f "$destination_path" ]] && ! [[ -d "$destination_path" ]]
then
- false
+ return 1
fi
done < "$install_install_path"
done