diff options
author | B. Stack <bgstack15@gmail.com> | 2021-08-17 20:56:47 -0400 |
---|---|---|
committer | B. Stack <bgstack15@gmail.com> | 2021-08-17 20:56:47 -0400 |
commit | 34b63d170e0d18ae12ff55d7097157560c7f5f2f (patch) | |
tree | aea82a3419bc75e2f46e9e4340b791a7264b3ea2 /coprmirror.sh | |
parent | initial commit (diff) | |
download | coprmirror-34b63d170e0d18ae12ff55d7097157560c7f5f2f.tar.gz coprmirror-34b63d170e0d18ae12ff55d7097157560c7f5f2f.tar.bz2 coprmirror-34b63d170e0d18ae12ff55d7097157560c7f5f2f.zip |
add YUMMIRROR_SCRIPT option to coprmirror
The sample path finds the running coprmirror.sh script and uses that
directory.
Diffstat (limited to 'coprmirror.sh')
-rwxr-xr-x | coprmirror.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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}" } |