#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=f167146141283ade43025a0fccdd959e40d4edd7 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 H4sIALuOiWcAA+08a3PbOJLzWb8Ca0+KVEai/Mp4yjtKzuM8xruJ47I9m5vyeVi0CFmMKZJHkLa1 WzO//bobAAk+JDk7Se6qjqhKJIGNRqNfaKCbXni3YrSA/9y5F0ROsvjm87ctaPvPnuHn9v6zbfq9 s7VFn/hof+v7b7b39vd2drf2t3d3v9na3t7d2v6GbX0BWhotF5mXMvY1pvq/2Db/MspFOroOohGP 7liyyGZxtNPb2NjomVrBhuwNj3jqZZwdffcdm6bxnP0KAOz4zOn1fhFcMIR3POGHDmMfgjBk2SwQ 7JqzlN+nQZbxiHkSSmLFby9oJsLmutM8y1PuuiyYJ3GasSQNogx6o0kWxFGvp7rFQvTUEJ/fXedB 6Ds3gFw9pgmQDAmD3/SjaZzOvQypmM4z+XgSp1w/5mkap7Lb9zLPDb3oRj/7+IN8MF9MkkR3zhdh cC37cVbdnaVeJHCu5iOg0wUEiv5skQTlFG8DkRE7fD5l7xNcs7D7Bz0GbRNh+QGz+2z4nMVJlnip 4I6EOsXvKcFtnHHgYSSYFyEUPGQEmbIgAkWPJtzZ6BFkwsbteOy+fO54vu9KHLY1HEbxMEl5li2G JJbhnIOm+MIaEHSl+VxkY0tCu1KIK6A9ku7YEhmIwp16oeDtSKdeHmbjizTnLY9nPEzG1ocZzAOL zWLktFRXSYdUJuS2JqXfU5w9iqMsjUN2SroPGgGcSvMJkCM0CAiTzaLY56TfrfxJFsMgCrLhyQqO LFwEcaP1bAACVnLhNbJpKRsKU1VLcuW8Llgk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