From bbbe70d33c5e4c8e54df9bc8e76a8611d4c432e2 Mon Sep 17 00:00:00 2001 From: Oz Linden Date: Tue, 30 Aug 2016 16:52:43 -0400 Subject: simplify redirect generator --- build.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'build.sh') diff --git a/build.sh b/build.sh index 654ad68ec7..d7b95e8987 100755 --- a/build.sh +++ b/build.sh @@ -342,10 +342,9 @@ then done if [ $have_private_repo = true ]; then - eval "$python_command \"$redirect\" '\${private_S3PROXY_URL}${S3PREFIX}repo/$repo/rev/$revision/index.html'"\ + $python_command $(native_path "$helper/hg/bin/redirect.py") "${private_S3PROXY_URL}${S3PREFIX}repo/$repo/rev/$revision/index.html"\ >"$build_log_dir/private.html" || fatal "generating global redirect" - upload_output global_redirect "$build_log_dir/private.html" text/html private ## TBD - + upload_output global_redirect "$build_log_dir/private.html" text/html private fi end_section "Upload Debian Repository" -- cgit v1.2.3