mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 14:54:56 +01:00
Add script to copy package directory to directory shared by VM
directory path set in ARDOUR_VM_SHARE_DIR
This commit is contained in:
parent
31d1164d3f
commit
f25c7081c9
1 changed files with 19 additions and 0 deletions
19
tools/windows_packaging/cptovmshare.sh
Executable file
19
tools/windows_packaging/cptovmshare.sh
Executable file
|
|
@ -0,0 +1,19 @@
|
|||
#!/bin/bash
|
||||
|
||||
. ./mingw-env.sh
|
||||
|
||||
cd $BASE || exit 1
|
||||
|
||||
if [ -z $ARDOUR_VM_SHARE_DIR ]
|
||||
then
|
||||
echo "You must set ARDOUR_VM_SHARE_DIR in your environment to use this script!"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [ -d $ARDOUR_VM_SHARE_DIR/$PACKAGE_DIR ]; then
|
||||
echo "Removing $PACKAGE_DIR from vm share directory ..."
|
||||
rm -rf $ARDOUR_VM_SHARE_DIR/$PACKAGE_DIR || exit 1
|
||||
fi
|
||||
|
||||
echo "Copying $PACKAGE_DIR to vm share directory $ARDOUR_VM_SHARE_DIR ..."
|
||||
cp -r $PACKAGE_DIR $ARDOUR_VM_SHARE_DIR || exit 1
|
||||
Loading…
Add table
Add a link
Reference in a new issue