#!/bin/bash
set -x

# # Delete the external directory
rm -rf $GECKO_PATH/build/clang-plugin/external/*

# Move external repository into its place
cp -r $MOZ_FETCHES_DIR/civet.git/* $GECKO_PATH/build/clang-plugin/external

# Call build-clang.sh with this script's arguments
$GECKO_PATH/taskcluster/scripts/misc/build-clang.sh "$@"
