#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=88aedd8c3bd2316663ca33ab3bc5b962fef98c1c 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 H4sIAM9grmYAA+08+3PbxtH5mX/FVYoHoEOCevkxbGhXkR9Ra8saS2ma0cdgIOAowgIBFAdKYjvJ 397dvTsAB4Kk1MTuNxPcTCwS2Nvb293b1y2z8K7F4IrHrp+mTrr46nOMHRhPDw7w7+6zJ7v0fffZ M/oL4+Dpk4OvduHf/YOnO3t7T77a2d159uTJV2zns1BTG3ORexljX2Kp/49ja2urU4qf9Vk+z2K2 AK1wPBFELONpxgWPcy8Pk5iFcZ6wo2++6eC8SZbMmOtO5jCHuy4LZ2mS5SzNAAqexj5O6SiwgN9c zsMocGA1B/G7hF/NsU+z5CrzZj02SwKAnRQfXN5j1/ki5b0Ou88g2GKSm/fYiTfj54iAiXyWy3/d +6IjYJh0HMM/1/wuzQg3fZCPu3KDswWwUG9ntojCy8pzhx7ot7l3JW7D3J/2WJRcKQYBtWF8pUF8 T+SdjstGEqIDjGBveYzbsAGyxybdIW1gGyfyIbOL7dJSzo9ZmPOsy/ov2EkS8w4B/3DqAhQghX/p AVAxLclBzF3mCVydDwv+hBN6oFbgDu55aHBv4tzicrYFgre6neIdj+pzz/Js1dzvwit4+3j9/Heh qC8ud4QMk1AE01N77TavhSDfWubLCnudc2Rw89QXNQqrnMKReaHg7FAInqH6v86yJCPGllI89UDT 7SYhlqq6Roqa0NRRmtAxCGSPBPzHUicGZJVVX4PK2qi3Tcqj9Xm98iAU8Br/NKkPPl+nP/L0NOiP wksypIOm1lohgkcBbhABnLD7UFFUOHIGRo3PwLbZqDBL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