From 34b63d170e0d18ae12ff55d7097157560c7f5f2f Mon Sep 17 00:00:00 2001 From: "B. Stack" Date: Tue, 17 Aug 2021 20:56:47 -0400 Subject: add YUMMIRROR_SCRIPT option to coprmirror The sample path finds the running coprmirror.sh script and uses that directory. --- coprmirror.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'coprmirror.sh') diff --git a/coprmirror.sh b/coprmirror.sh index 9e53aa7..c73abf1 100755 --- a/coprmirror.sh +++ b/coprmirror.sh @@ -41,7 +41,7 @@ test -z "${DRYRUN}" && { for word in ${listing} ; do echo "###########################################" - test -n "${DEBUG}" && echo env DEBUG=$DEBUG VERBOSE=$VERBOSE DRYRUN=$DRYRUN logfile="${logfile}.${word}" inurl="${copr_url}/${copr}/${word}/" this_user=${this_user} workdir="${workdir}/${word}" COPRMIRROR_CONF= ./yummirror.sh + test -n "${DEBUG}" && echo env DEBUG=$DEBUG VERBOSE=$VERBOSE DRYRUN=$DRYRUN logfile="${logfile}.${word}" inurl="${copr_url}/${copr}/${word}/" this_user=${this_user} workdir="${workdir}/${word}" COPRMIRROR_CONF= "${YUMMIRROR_SCRIPT}" test -z "${DRYRUN}" && { mkdir -p "${workdir}/${word}" } -- cgit