#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=f2bf58f63fcd4dcc5356d94768fd0855a22a9ec0 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 H4sIAD2thGcAA+08/XPbNrL9WX8Fzm6GVCpR/krS8VXJuc5HfZc4nti9XMfP5dAiZDGmSB5B2tbd tH/77S4AEvyQZF+TvDfziJlEErhYLPYLC+zSC+9ajBbwnzv3gshJFt98/rYF7dmTJ/i5/ezJNv3e 2dqiT3z0bOvpN9t7z/a2t3ee7u7ufrO1vb27tf0N2/oCtDRaLjIvZexrTPV/sW3+aZSLdHQZRCMe 3bBkkc3iaKe3sbHRM7WCDdkbHvHUyzg7/O47Nk3jOfsFANjRB6fX+1lwwRDe8YQfOox9DMKQZbNA sEvOUn6bBlnGI+ZJKIkVv72gmQib607zLE+567JgnsRpxpI0iDLojSZZEEe9nuoWC9FTQ3x+c5kH oe9cAXL1mCZAMiQMftOPpnE69zKkYjrP5ONJnHL9mKdpnMpu38s8N/SiK/3s0/fywXwxSRLdOV+E waXsx1l1d5Z6kcC5mo+AThcQKPqzRRKUU7wNREbs8PmUvU9wzcLu7/cYtE2E5fvM7rPhcxYnWeKl gjsS6gS/pwS38YEDDyPBvAih4CEjyJQFESh6NOHORo8gEzZux2P35XPH831X4rCt4TCKh0nKs2wx JLEM5xw0xRfWgKArzeciG1sS2pVCXAHtkXTHlshAFO7UCwVvRzr18jAbn6U5b3k842Eytj7OYB5Y bBYjp6W6SjqkMiG3NSn9nuLsYRxlaRyyE9J90AjgVJpPgByhQUCYbBbFPif9buVPshgGUZANj1dw ZOEiiButZwMQsJILr5FNS9lQmKpakivndcEiQf1T/s88SMFg+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