diff options
-rwxr-xr-x | tcwg-llvm-common.sh | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/tcwg-llvm-common.sh b/tcwg-llvm-common.sh index 3f0c9937..5ad03a65 100755 --- a/tcwg-llvm-common.sh +++ b/tcwg-llvm-common.sh @@ -90,7 +90,8 @@ push_binary_dir() { push_scp_url() { local TYPE="$1" # ex: releases/binaries - local PUSHDIR="$(push_binary_dir "$TYPE")" + local PUSHDIR + PUSHDIR="$(push_binary_dir "$TYPE")" echo "$PUSHSERVER:public_html/$PUSHDIR" } @@ -98,7 +99,9 @@ push_wget_url() { local TAG="$1" # ex: ci12, 4.0.0-rc1, r300293 local TRIPLE="$2" # ex: aarch64-linux-gnu local TYPE="$3" # ex: releases/binaries - local BINARY="$(push_binary_name "$TAG" "$TRIPLE")" - local PUSHDIR="$(push_binary_dir "$TYPE")" + local BINARY + BINARY="$(push_binary_name "$TAG" "$TRIPLE")" + local PUSHDIR + PUSHDIR="$(push_binary_dir "$TYPE")" echo "http://$PUSHSERVER/~$PUSHUSER/$PUSHDIR/$BINARY.$PUSHSUFFIX" } |