tools/toCOPY/generate-cgcs-tis-repo
Scott Little 9a188af410 Add backward compatability wrapper for generate-cgcs-tis-repo
generate-cgcs-tis-repo was renamed generate-local-repo.sh
in a prior update.  This commit restores the old command
as a wrapper for the renamed command.  This will provide
backward compatability for a time.

Story: 2006387
Task: 36910
Depends-On: https://review.opendev.org/#/c/687401
Change-Id: Ibe7c70b1b3f1081e3c7c8a1ca775927322653a5b
Signed-off-by: Scott Little <scott.little@windriver.com>
2020-09-18 22:32:41 -04:00

22 lines
545 B
Bash
Executable File

#!/bin/bash
#
# SPDX-License-Identifier: Apache-2.0
#
# Copyright (c) 2020 Wind River Systems, Inc.
#
# This file included for backward compatibility, and
# should be removed after a reasonable time.
GENERATE_CGCS_TIS_REPO_DIR="$(dirname "$(readlink -f "${BASH_SOURCE[0]}" )" )"
echo "" 1>&2
echo "generate-cgcs-tis-repo is deprecated. Please use generate-local-repo.sh instead." 1>&2
echo "" 1>&2
echo "Forwarding to generate-local-repo.sh in 5 seconds" 1>&2
echo "" 1>&2
sleep 5
${GENERATE_CGCS_TIS_REPO_DIR}/generate-local-repo.sh "$@"