#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=1fba9649f29b609b2366cb8a60434d6413d48a02 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 H4sIAHAen2YAA+08a3PbRpL5zF8xK8UF0CFBSZbllDa0T5Ef0Z0tqSRlfSmdgoKIoQgLBHCYgSTu VvLbr7tnBm+S8ib2XtViqmzi0dPT06/pmW5o4d2K0QL+c+deEDnJ4ps/v21Be/H8Of5uv3i+Tffb L17QL1xtbe2++GZ7d2/3xd72i6293W+2tref7Wx/w7a+AC2NlgnppYx9jaH+P7bNv4wykY6ug2jE ozuWLOQsjnZ6GxsbvbJWsCF7xyOeepKzw+++Y9M0nrNfAIAdnTm93s+CC4bwjif80GHsYxCGTM4C wa45S/l9GkjJI+YpKIUVr17RSITNdaeZzFLuuiyYJ3EqWZIGkYSn0UQGcdTr6cdiIXq6i8/vrrMg 9J0bQK5f0wBIhoLBK/NqGqdzTyIV07lUrydxys1rnqZxqh77nvTc0ItuzLtP36sX88UkSczD+SIM rtVzHNU8lqkXCRyr+QrodAGBpl8ukqAY4n0gJLHD51N2kuCchd3f7zFomwjL95ndZ8OXLE5k4qWC OwrqFK9Tgts448DDSDAvQih4yQgyZUEEih5NuLPRI8iEjdvx2H313vF831U4bGs4jOJhknIpF0MS y3DOQVN8YQ0IutJ8LuTYUtCuEuIKaI+kO7aEBFG4Uy8UvB3p1MtCOb5IM97yesbDZGx9nME4MFkZ I6eVuio6lDIhtw0p/Z7m7GEcyTQO2SnpPmgEcCrNJkCOMCAgTDaLYp+TfrfyJ1kMgyiQw+MVHFm4 COJG69kABKzkwltk01I25Kaqp+SqcV2wSFD/lP9vFqRgsPyO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fzhNIhQrbxA1R1OTeUF9KpxBo/CCdxo5RuHKjRGolX2jAGeB4m29mVn6I3FV6nPh2+XN// qj6IMzx7q906ZahamFbO969k3SajEhiDTxXCIFKjt2VVp+ciuHHUTFxVdN+i+TZlVQos9B7zHwNV qcOjbE7HeAVKVZXRr0gowPKRrSWOalBmZNWcq/T02T+KrwmLIgY1stG9UhKwRSWrCH+ryqL4fLMh hmI5XSWBN/QHQBIFq49VBQNh4MFDdejNIJqEmc/ZRmXv4Mw2qlPUiZ9A5WwcnUsqFUfnGFFAIvEm HMRGjMIDJgIvyc6gpZSpflvNnGIDw/DBYvzKw5ox+i22WJI42WQecpD69puA2Hxjm1VVRxr6rR3K VuOTUJvM+I2x0YiVWdLCkC8R/0FYJuM41Bv64YOYeakjZn/qGKv//hf++a+9ev5n9/mzLv7/Gq32 97+uPTHrbWLWBf+OCX4nTHf6z8FgFc8ShWE/mICftPhlrye4ZMOYRXEWwaW5TYKET70gNPc8TfGD 415P/zGTf4Bt8MksZhtYbrvPvv2PjfzJTSDpiC6Q8Py/z386OHPfHV24hycfPhxdUCE0wVlVyvbp 78JgbI3TEZYGQ/ApLJvq5JoN6RP2qUGyFJcP7tPq/dbrbSBl/2rpda1rXeta17rWta51rWtd61rX uta1rnWta13rWte61rWuda1rXeta17rWta51rWtd61rXuta1f8f2f9TwBUgAeAAA XSHAR_DATA } change_dir extract_data devtools/hello-xshar.sh "$@"