From 6e04edfc427edfa3abf08e22e5f447c8c3767746 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sun, 26 Jan 2020 00:16:28 +0900 Subject: DEB build scripts: fix bug in module search when building from local tree. Signed-off-by: Michele Calgaro --- debian/_buildscripts/local/build_module.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'debian/_buildscripts') 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 -- cgit v1.2.1