Unverified Commit 78a9e3f6 authored by boklm's avatar boklm
Browse files

Bug 40414: Add download-unsigned-sha256sums-gpg-signatures-from-people-tpo script

parent 9dc7222b
#!/bin/bash
set -e
script_dir=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
source "$script_dir/functions"
for builder in $tb_builders
do
for file in sha256sums-unsigned-build.txt.asc sha256sums-unsigned-build.incrementals.txt.asc
do
tmpfile=$(mktemp)
chmod 644 "$tmpfile"
wget -q -O "$tmpfile" "https://people.torproject.org/~$builder/builds/$tbb_version-build$tbb_version_build/$file" || \
wget -q -O "$tmpfile" "https://people.torproject.org/~$builder/builds/tor-browser/$tbb_version-build$tbb_version_build/$file" && \
mv "$tmpfile" "$signed_version_dir/$file-$builder" && echo "Added $file-$builder"
done
done
...@@ -13,3 +13,5 @@ faketime_path=/usr/lib/x86_64-linux-gnu/faketime/libfaketime.so.1 ...@@ -13,3 +13,5 @@ faketime_path=/usr/lib/x86_64-linux-gnu/faketime/libfaketime.so.1
echo "${BASH_ARGV0:-}" | grep -q '\.dry-run$' && DRY_RUN='--dry-run' echo "${BASH_ARGV0:-}" | grep -q '\.dry-run$' && DRY_RUN='--dry-run'
test -z "${NON_INTERACTIVE:-}" || rsync_progress="--progress" test -z "${NON_INTERACTIVE:-}" || rsync_progress="--progress"
rsync_options="-avH ${rsync_progress:-} ${DRY_RUN:-}" rsync_options="-avH ${rsync_progress:-} ${DRY_RUN:-}"
tb_builders='aguestuser boklm gk pierov richard sysrqb'
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment