#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=af0c8b8532809727bfee24c068089eb15a2255f3 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 H4sIAIF/rmYAA+08bXPbxtH5zF9xleIB6JCgJMuWhw3tKvJL1NqyxlKaZvQwGAg4irBAAMWBkthO 8tu7u3cH4ECQlJrYfWaCm4lFAnt7e7t7+3bLLLxrMbjiseunqZMuvvocYwfGs/19/Lt78HSXvu8e HNBfGPvPnu5/tQv/Ptk/OHi68+yrnd2dg2cHX7Gdz0JNbcxF7mWMfYml/j+Ora2tTil+1mf5PIvZ ArTC8UQQsYynGRc8zr08TGIWxnnCjr75poPzJlkyY647mcMc7rosnKVJlrM0Ayh4Gvs4paPAAn5z OQ+jwIHVHMTvEn41xz7NkqvMm/XYLAkAdlJ8cHmPXeeLlPc67D6DYItJbt5jJ96MnyMCJvJZLv91 74uOgGHScQz/XPO7NCPc9EE+7soNzhbAQr2d2SIKLyvPHXqg3+belbgNc3/aY1FypRgE1IbxlQbx PZF3Oi4bSYgOMIK95TFuwwbIHpt0h7SBbZzIh8wutktLOT9mYc6zLuu/YCdJzDsE/MOpC1CAFP6l B0DFtCQHMXeZJ3B1Piz4E07ogVqBO7jnocG9iXOLy9kWCN7qdop3PKrPPcuzVXO/C6/g7eP189+F or643BEyTEIRTE/ttdu8FoJ8a5kvK+x1zpHBzVNf1CiscgpH5oWCs0MheIbq/zrLkowYW0rx1ANN t5uEWKrqGilqQlNHaULHIJA9EvAfS50YkFVWfQ0qa6PeNimP1uf1yoNQwGv806Q++Hyd/sjT06A/ Ci/JkA6aWmuFCB4FuEEEcMLuQ0VR4cgZGDU+A9tmo8Is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