#!/bin/bash set -e JUCE_MODULES_DIR="/home/falktx/FOSS/GIT-mine/DISTRHO/DISTRHO/libs/juce/source/modules/" CARLA_MODULES_DIR="/home/falktx/FOSS/GIT-mine/Carla/source/modules/" MODULES=("juce_audio_basics juce_audio_devices juce_audio_formats juce_audio_processors juce_core juce_data_structures juce_events juce_graphics juce_gui_basics juce_gui_extra") for M in $MODULES; do echo $M; cp -r -v $JUCE_MODULES_DIR/$M/* $CARLA_MODULES_DIR/$M/ done find $CARLA_MODULES_DIR -name juce_module_info -delete rm source/modules/juce_*/juce_*.mm