function run()
{
rm -rf /blddv/ &&
mkdir -p /blddv/
mkdir -p /blddv/build_dependencies &&
cd /blddv/build_dependencies &&
curl -L https://github.com/phracker/MacOSX-SDKs/releases/download/10.13/MacOSX10.9.sdk.tar.xz | tar -xJf - || true &&
pushd MacOSX10.9.sdk &&
find . -type f ! -iname "sha256checksums" -print0 | sort -z | xargs -r0 sha256sum > sha256checksums &&
echo "5c4e5b294f196c7f88f755c35e8ecc688f80da5a33f00d8078ed4c6f9ff4d3d8  sha256checksums" | sha256sum -c  &&
rm sha256checksums && popd &&
{ tar -cJf MacOSX10.9.sdk.tar.xz ./ || true ; } &&
rm -r MacOSX10.9.sdk &&
git clone -q https://github.com/raspberrypi/tools.git &&
tar -czf raspberrypi-tools.tar.gz ./tools &&
rm -rf ./tools &&
git clone -q https://github.com/DiviProject/gitian-builder.git /blddv/gitian-builder/ &&
sed -i -e "s/RUN echo 'Acquire::http { Proxy /# RUN echo 'Acquire::http { Proxy /g" /blddv/gitian-builder/bin/make-base-vm &&
cd /blddv/gitian-builder/ && git add . &&
git config --global user.email "DevelopmentDivi" &&
git config --global user.name "DevBot" &&
git commit -m "Remove proxy"
}

run
