fix handover from output/stx-r1/CentOS/pike to output/stx/CentOS

Change-Id: Ic9e78580ea4e5adafc9de538e6e4926feef14187
Signed-off-by: Scott Little <scott.little@windriver.com>
This commit is contained in:
Scott Little 2020-09-18 17:57:31 -04:00
parent 68922ff05b
commit 77e5d8f2fd

View File

@ -15,7 +15,7 @@ export DL_MIRROR_OUTPUT_DIR="${DL_MIRROR_OUTPUT_DIR:-./output/stx/CentOS}"
#
# Relocate downloaded rpms from the old location to the new.
pike_dir="./output/stx-r1/CentOS/pike"
if [ -d $pike_dir && ! -d $DL_MIRROR_OUTPUT_DIR ]; then
if [ -d $pike_dir ] && [ ! -d $DL_MIRROR_OUTPUT_DIR ]; then
mkdir -p $(dirname $DL_MIRROR_OUTPUT_DIR)
mv $pike_dir $DL_MIRROR_OUTPUT_DIR
fi