diff options
author | Diana Picus <diana.picus@linaro.org> | 2020-10-29 11:05:01 +0100 |
---|---|---|
committer | Diana Picus <diana.picus@linaro.org> | 2020-10-30 10:41:19 +0000 |
commit | fd7682fdc7dfd92a9f451bf403b96bc73113caa3 (patch) | |
tree | 04733b8c58b02fb357060161385012f68568a602 | |
parent | 3b9562a62c491dcf5680e73bacc9489a3a91039b (diff) |
tcsg-llvm-common.sh: Don't prefix with public_html
push_binary_dir should be the single source of truth for the PUSHDIR,
so push_scp_url should not add any prefixes. If we wish to have
a public_html in the path, we should add it in push_binary_url instead,
since that is what we use to create the push directory in
tcwg-build-llvm.sh. But for now I don't think we need public_html at all
anymore.
Change-Id: Ie26430fbf00f94ffd1c70365c95a251fb14ce46c
-rwxr-xr-x | tcwg-llvm-common.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tcwg-llvm-common.sh b/tcwg-llvm-common.sh index b82c0184..f410efe6 100755 --- a/tcwg-llvm-common.sh +++ b/tcwg-llvm-common.sh @@ -178,7 +178,7 @@ push_scp_url() { local TYPE="$1" # ex: releases/binaries local PUSHDIR PUSHDIR="$(push_binary_dir "$TYPE")" - echo "$PUSHSERVER:public_html/$PUSHDIR" + echo "$PUSHSERVER:$PUSHDIR" } push_wget_url() { |