autodist: fix path for fetching distdb and legacy files

This commit is contained in:
2025-03-11 21:31:43 +01:00
parent efcb5517ba
commit 0cddc6bda9

View File

@@ -917,10 +917,10 @@ function log_date() {
DISTDBFILES=
DISTDB=`fetch_repository_file ${LOCAL_REPS_BASE_DIR}/${BASE_REPOSITORY}/distdb`
DISTDB=`fetch_repository_file ${BASE_REPOSITORY}/distdb`
[ "$DISTDB" ] && DISTDBFILES="$DISTDB"
DISTDBARCH=`fetch_repository_file ${LOCAL_REPS_BASE_DIR}/${BASE_REPOSITORY}/distdb.$TARGETARCH`
DISTDBARCH=`fetch_repository_file ${BASE_REPOSITORY}/distdb.$TARGETARCH`
if [ "$DISTDBARCH" ]; then
DISTDBFILES="$DISTDBFILES $DISTDBARCH"
fi
@@ -996,7 +996,7 @@ BUILDSLIST=`fetch_repository_file distromatic/$AUTODIST_REPOSITORY/builds-$TARGE
[ "$AUTODIST_DELAYED_REPOSITORY" ] && BUILDSLIST_DELAYED=`fetch_repository_file distromatic/$AUTODIST_DELAYED_REPOSITORY/builds-$TARGETARCH`
[ $? -eq 0 ] || echo "Warning: unable to fetch $BUILDSLIST">&2
LEGACYLIST=`fetch_repository_file ${LOCAL_REPS_BASE_DIR}/${BASE_REPOSITORY}/legacy`
LEGACYLIST=`fetch_repository_file ${BASE_REPOSITORY}/legacy`
[ "$LEGACYLIST" ] || LEGACYLIST=$SYSCONFDIR/legacy
[ $? -eq 0 ] || echo "Warning: unable to fetch $LEGACYLIST">&2