summaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
authorOz Linden <oz@lindenlab.com>2016-08-30 16:52:43 -0400
committerOz Linden <oz@lindenlab.com>2016-08-30 16:52:43 -0400
commitbbbe70d33c5e4c8e54df9bc8e76a8611d4c432e2 (patch)
treeb596005317fcb0b8b731e715c0e521ab86132257 /build.sh
parentf99c3002a1efbd6512094ebd4620c28490c52226 (diff)
simplify redirect generator
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh5
1 files changed, 2 insertions, 3 deletions
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"