Create initial bootstrap script.

Ack.

On Wed, Oct 29, 2014 at 12:31 PM, Derek Jackson <notifications@github.com>
wrote:

> In scripts/install/bootstrap.sh:
>
> > +#!/bin/bash
> > +# bootstrap.sh
> > +
> > +OWNER=GoogleCloudPlatform
> > +REPO=google-halyard-private
> > +
> > +function download {
> > +  scratch=$(mktemp -d -t tmp.XXXXXXXXXX) || exit
> > +  script_file=$scratch/bootstrap_2.sh
> > +
> > +  echo "Downloading install script: $URL"
> > +  read -p 'Please enter your GitHub Personal Access Token: ' TOKEN
> > +
> > +  GITHUB_PATH=https://api.github.com/repos/$OWNER/$REPO/contents/scripts/install/bootstrap_2.sh
> > +
> > +  curl -# --header "Authorization: token $TOKEN" --header 'Accept: application/vnd.github.v3.raw' $GITHUB_PATH > $script_file || exit
>
> I disagree, but not strongly. We should figure out what the style
> conventions here are supposed to be before we go too much further.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/GoogleCloudPlatform/google-halyard/pull/1/files#r19551061>
> .
>