#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=8f684dcccb8a14d75e5d4df427883fea5b925d71 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 H4sIAPHapWYAA+08/XPbNrL9WX8Fzm6GVCpRtmMnHV2VPNf5qO8SxxO719fxczk0CVmMKZKPoGzr btq//e0uAJIgKcm5Nrk3d8RMLIlcLBb7hd0FkKV3I0Z55sVimmRzJ11+9ce3HWhP9/fxc/fZwS79 3n32jD7h2/7ewZOvdvefHuw+OTjYewrPd3efPN35iu18BloabSFyL2PsSwz1/7FtbW31quJnQ5Yv spjNknlyzWOeLASLw+hbxxNBxDKeZlzwOA+TmIVxnrAZz3mmIXtL0KYapIewPRxmmiVz5rrTBQzA XZeF8zTJcpZmgAiexj5BKrCA314twihwALWDBLiEVvWJb71owQfq0y2/5W3dkSqju/0uCRYR9DoF 0jNvPmDzJIA+0+KLmw967CHtJl+mgIg+oBMT+Vz9xV83/D7NHozrOIYu58kNjwfsLLyOPWTUgJ14 c34O6PuKN/Oln6bOfBmFV3pCUXI9YLl3Le7C3J8pOCApjK81iO8JwP42FHmv57IJdun1ejBV9g5M 4Ht+tpxfJZGNfOyPid5txMDHzNa87bPhc5haRm/DKfHcgVHtPvvTpJCFIzGNizlnXig4OxSCZyjh V1mWZLb16j7lfs4DJsEH7DrJ2SNhsUeEqU/dM07KiLQrKhwNTkCOMOaAs9s8A4S60E8uN0wGgR88 FQR+8EQksJxGmPO5nsq5tkZAm22ejVKxHoH8eOriSyYnQI9AI2alakh8zBNICi8nBgzAB3Yxb9DF /thQW4W4OgVSWDVm3wCOEh9gSZdtK/XymTVglj9bxDfwZWfAnvRxPufvX743uik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