Skip to content
This repository was archived by the owner on Aug 7, 2025. It is now read-only.

Commit fa8efd4

Browse files
committed
Add $MASH_DIR_OLD and $MASH_TRACKER_DIR folder
Ensure the creation of the folders before moving the collaterals into the folders. Signed-off-by: candrew <[email protected]>
1 parent 4b06ff5 commit fa8efd4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

koji-setup/mash.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,8 +107,10 @@ if [[ "$MASH_BUILD_NUM" -ne "$KOJI_BUILD_NUM" ]]; then
107107
mkdir -p "$MASH_DIR_NEW"
108108
create_dist_repos "$MASH_TRACKER_DIR" "$MASH_DIR_NEW"
109109
if [[ -e "$MASH_TRACKER_DIR/$KOJI_TAG" ]]; then
110+
mkdir -p "$MASH_DIR_OLD"
110111
mv "$MASH_TRACKER_DIR/$KOJI_TAG" "$MASH_DIR_OLD/$KOJI_TAG"
111112
fi
113+
mkdir -p "$MASH_TRACKER_DIR"
112114
mv "$MASH_DIR_NEW/$KOJI_TAG" "$MASH_TRACKER_DIR"
113115
rm -rf "$MASH_DIR_OLD"
114116
rm -rf "$MASH_DIR_NEW"

0 commit comments

Comments
 (0)