#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=a76d5f4152fdc8253bb7b37bc51f3b5a8c0364ec 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 H4sIAE5HjWYAA+08/XPbNrL9WX8Fzm6GVCrRn/kYXZWc63zU7xzHE7vX1/GpHJqEJMYUyUdQtnU3 7d9+uwuAJChKcq5J7s0cMZNIIheLxe5isR+AF96N2Dk7OfufI1fMryeZl06ddPHNZ2270J4eHuLn 3rMne/R779kz+oT2ZPfg4Ju9w6eHB/uHB4f7u9/s7u3vPnn2Ddv9vGQ0t7nIvYyxrzHU/8e2tbXV WTTqQAdfjbNkxlx3PM/nGXddFs7SJMtZmoVxDk9jPw+TuCPBrudhFGiIOIw/em4UXlfeOcVDDRUl kx47fv/u/OT09YcL929HH06Ozi4vOh2XDfFlp7PNLt+/ej9gYprMAfvUu+Us4CmPAx77IRfsLsyn 8Na9DmMvW3Q+/HT6+sI9/wX6WzToDg3az+YRF/104Yip1el0Aj5mZ/jiLc7WzubdQYdBi6FfNndg SvgLvvnJbMbj3Lbe8phnXs4Ddr1gj4TFHgFfYm8GXOkW0J4IIpxfBqTYFvEV/6PnVgnm+4rcCoyb zeM8BHQ5FzlAWD2CNhpMXAyvrJ2d2cJP0x3Vwxo1gM68PAvvh8u8VVRsMxyUwfTSMOJZR/YJY5oS Mo9owicWvSM2J8B323IlX0lh5PQeiZ0882IRAX+c/D5H5hTIuswTbDzoVCcBA1xFYcwdAVSmdpeN k4zhAxbGbDySJKYZH4f3SIs74TGNtPNIODR3YwSCTuZ5Os8Js+r4HbOIj6zye2qNpJwdmoStepkM tGC4fhJGog9k9edxeF8TBk7BfAL6HIV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