taskcluster-interactive-shell (453B)
1 #!/usr/bin/env bash 2 3 download() { 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 11 cd $HOME/bin; 12 download taskcluster/scripts/tester/run-wizard; 13 chmod +x run-wizard; 14 ./run-wizard; 15 16 SPAWN="$SHELL"; 17 if [ "$SHELL" = "bash" ]; then 18 SPAWN="bash -li"; 19 fi; 20 21 cd $HOME; 22 exec $SPAWN;