From d68f20b75ba201a0da46757f91c82a337e314c79 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20M=C3=A4kel=C3=A4?= Date: Fri, 20 Jul 2018 04:50:58 +0300 Subject: [PATCH] Also copy version files for MaxCtrl builds When MaxCtrl is being built, the source is copied into the build directory to prevent polluting the source tree with node_modules. This means that any relative references MaxCtrl builds make outside of the maxctrl directory must be copied to the build directory. --- maxctrl/build.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/maxctrl/build.sh b/maxctrl/build.sh index 75126b93e..8edcc4d2a 100755 --- a/maxctrl/build.sh +++ b/maxctrl/build.sh @@ -12,6 +12,7 @@ if [ "$PWD" != "$src" ] then # Copy sources to working directory cp -r -t $PWD/maxctrl $src/maxctrl/* + cp -r -t $PWD/ $src/VERSION*.cmake fi cd $PWD/maxctrl