system-config/modules/pypimirror/templates/run-mirror.sh.erb
Monty Taylor 6c763db08e Fix two typos.
Change-Id: I6b02a28b8dd658425b39bf7f5fb858efbb9023d7
Reviewed-on: https://review.openstack.org/11146
Approved: Monty Taylor <mordred@inaugust.com>
Reviewed-by: Monty Taylor <mordred@inaugust.com>
Tested-by: Jenkins
2012-08-10 14:46:31 +00:00

11 lines
447 B
Plaintext

#!/bin/bash
# This file is managed by puppet.
# https://github.com/openstack/openstack-ci-puppet
export PIP_DOWNLOAD_CACHE=<%= pip_cache %>
export PIP_TEMP_DOWNLOAD=<%= pip_download %>
export MIRROR_FILE_PATH=<%= mirror_file_path %>
export LOG_FILENAME=<%= log_filename %>
python /usr/local/mirror_scripts/run_mirror.py <%= git_source %> >>$LOG_FILENAME
python /usr/local/mirror_scripts/process_cache.py ${PIP_DOWNLOAD_CACHE} ${MIRROR_FILE_PATH}