#!/bin/bash # # Copyright (c) 2022 Wind River Systems, Inc. # # SPDX-License-Identifier: Apache-2.0 # set -e source $(dirname "$0")/lib/job_utils.sh load_build_env src_dir="$WORKSPACE_ROOT/std/build-remote-cli" dst_dir="$BUILD_OUTPUT_HOME/workspace/std/build-remote-cli" notice "copying remote-cli files to $dst_dir" if [[ -d "$dst_dir" ]] ; then maybe_run rm -rf --one-file-system "$dst_dir" fi if [[ -d "$src_dir" ]] ; then maybe_run cp -arv "$src_dir" "$dst_dir" fi