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.
This commit is contained in:
Markus Mäkelä
2018-07-20 04:50:58 +03:00
parent 21eef8a670
commit d68f20b75b

View File

@ -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