#
# CAUTION: This removes original files at the affected paths.
set -e
+. ./misc.sh
+
+expect_n_args 3 "(source root, target root, modules)" "$@"
-if [ "$#" -lt 3 ]; then
- echo 'Need arguments: source root, target root, modules.'
- false
-fi
source_root="$1"
target_root="$2"
shift 2