autodist: fix path for fetching distdb and legacy files
This commit is contained in:
6
autodist
6
autodist
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user