enable LuaAPI::Vamp::analyze() callback
[ardour.git] / tools / windows_packaging / cptovmshare.sh
1 #!/bin/bash
2
3 . ./mingw-env.sh
4
5 cd $BASE || exit 1
6
7 if [ -z $ARDOUR_VM_SHARE_DIR ]
8 then
9         echo "You must set ARDOUR_VM_SHARE_DIR in your environment to use this script!"
10         exit 1
11 fi
12
13 if [ -d $ARDOUR_VM_SHARE_DIR/$PACKAGE_DIR ]; then
14         echo "Removing $PACKAGE_DIR from vm share directory ..."
15         rm -rf $ARDOUR_VM_SHARE_DIR/$PACKAGE_DIR || exit 1
16 fi
17
18 echo "Copying $PACKAGE_DIR to vm share directory $ARDOUR_VM_SHARE_DIR ..."
19 cp -r $PACKAGE_DIR $ARDOUR_VM_SHARE_DIR || exit 1