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

Story: 2006835
Task: 37410
Change-Id: Ic18c4e0dd8fd089f00ca4c41658f5d78623f099e
Signed-off-by: Scott Little <scott.little@windriver.com>
This commit is contained in:
Scott Little 2020-09-18 16:01:42 -04:00
parent 42604cd007
commit 68922ff05b

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 $old_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