summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xdebian/_buildscripts/local/build_module.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/debian/_buildscripts/local/build_module.sh b/debian/_buildscripts/local/build_module.sh
index b010316ee..f52d76e99 100755
--- a/debian/_buildscripts/local/build_module.sh
+++ b/debian/_buildscripts/local/build_module.sh
@@ -238,7 +238,9 @@ else
do_exit 7
fi
fi
- bool_COPY_MOD_SRC="y"
+ if [ ! -d "$MOD_BUILD_PATH" ]; then
+ bool_COPY_MOD_SRC="y"
+ fi
fi
# packaging scripts