4 build_dir="/scratch/sfr/next"
6 [ "$NEXT_BUILD_HOST" ] && build_host="$NEXT_BUILD_HOST"
7 [ "$NEXT_BUILD_DIR" ] && build_dir="$NEXT_BUILD_DIR"
18 ssh "$build_host" /bin/sh <<EOF
20 [ -d "$build_dir" ] || mkdir -p "$build_dir"
24 [ -d tmp ] || mkdir tmp
25 [ -d .ccache ] || mkdir .ccache
27 git remote update || true
29 git clone -s -l -c gc.auto=0 linus.git next