#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=9911231b0cb4dd95b95367ee399a4cdfc167f47f name=$(basename $0) # e.g. hello-xshar.xshar default_dir=/tmp/$name.$$ # User can override this, and then _build/oils.sh can use SKIP_REBUILD to make # it faster. Multiple runs without compiling. export XSHAR_DIR=${XSHAR_DIR:-$default_dir} change_dir() { mkdir -p "$XSHAR_DIR" cd "$XSHAR_DIR" } extract_data() { base64 -d <<'XSHAR_DATA' | tar -x -z H4sIAG4bhGYAA+08/XPbNrL9WX8Fzm6GVCrRH7GTjK5KznU+6neO44nd6+v4VA5NQhJjiuQjKNu6 m/Zvv90FQBIUJTnXJPdmjphJJJGLxWJ3sdgPwAvvRuycnZz9z5Er5teTzEunTrr45rO2XWhPDw7w c+/Z4R793nv2jD6hHe4+efLN3sHTg73dvcODp/vf7O7t7z7d/Ybtfl4ymttc5F7G2NcY6v9j29ra 6iwadaCDr8ZZMmOuO57n84y7LgtnaZLlLM3COIensZ+HSdyRYNfzMAo0RBzGHz03Cq8r75zioYaK kkmPHb9/d35y+vrDhfu3ow8nR2eXF52Oy4b4stPZZpfvX70fMDFN5oB96t1yFvCUxwGP/ZALdhfm U3jrXoexly06H346fX3hnv8C/S0adIcG7WfziIt+unDE1Op0OgEfszN88RZna2fz7qDDoMXQL5s7 MCX8Bd/8ZDbjcW5bb3nMMy/nAbtesEfCYo+AL7E3A650C2hPBBHOLwNSbIv4iv/Rc6sE831FbgXG zeZxHgK6nIscIKweQRsNJi6GV9bOzmzhp+mO6mGNGkBnXp6F98Nl3ioqthkOymB6aRjxrCP7hDFN CZlHNOETi94RmxPgu225kq+kMHJ6j8ROnnmxiIA/Tn6fI3MKZF3mCTYedKqTgAGuojDmjgAqU7vL xknG8AELYzYeSRLTjI/De6TFnfCYRtp5JByauzECQSfzPJ3nhFl1/I5ZxEdW+T21RlLODk3CVr1M BlowXD8JI9EHsvrzOLyvCQOnYD4BfY5CP8xBOijaHTG9A8WScpJc7DGtmj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