1#!/usr/bin/env bash 2 3download() { 4 name=`basename $1` 5 url=${GECKO_HEAD_REPOSITORY}/raw-file/${GECKO_HEAD_REV}/$1 6 if ! curl --fail --silent -o ./$name --retry 10 $url; then 7 fail "failed downloading $1 from ${GECKO_HEAD_REPOSITORY}" 8 fi 9} 10 11cd $HOME/bin; 12download taskcluster/scripts/tester/run-wizard; 13chmod +x run-wizard; 14./run-wizard; 15 16SPAWN="$SHELL"; 17if [ "$SHELL" = "bash" ]; then 18 SPAWN="bash -li"; 19fi; 20 21cd $HOME; 22exec $SPAWN; 23