tools/toCOPY/generate-cgcs-centos-repo.sh
Scott Little 420a989cf5 Add backward compatability wrapper for generate-cgcs-centos-repo.sh
generate-cgcs-centos-repo.sh was renamed generate-centos-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: 36912
Depends-On: https://review.opendev.org/#/c/687403
Change-Id: I69714d46ab20b52828f31625cc4e7955fbd10387
Signed-off-by: Scott Little <scott.little@windriver.com>
2020-09-18 22:32:42 -04:00

22 lines
559 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_CENTOS_REPO_DIR="$(dirname "$(readlink -f "${BASH_SOURCE[0]}" )" )"
echo "" 1>&2
echo "generate-cgcs-centos-repo.sh is deprecated. Please use generate-centos-repo.sh instead." 1>&2
echo "" 1>&2
echo "Forwarding to generate-centos-repo.sh in 5 seconds" 1>&2
echo "" 1>&2
sleep 5
${GENERATE_CGCS_CENTOS_REPO_DIR}/generate-centos-repo.sh "$@"