#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=9e4a8e128cdf0e29fdc4c114bcf8b0bbc94ca853 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 H4sIAHFya2cAA+08a3PbOJL7Wb8Ca0+KVEai/Eoy5R0l53Ee4zvHcdmezU35PCxahCzGFMkjSNva rZnfft0NgAQfkpydJHdVR1QlksBGo9EvNNBNL7xbMVrAf+7cCyInWfzly7ctaC+ePcPP7RfPtun3 ztYWfeKjF1vP/7K992J35/mL7a0deL69vQuP2dZXoKXRcpF5KWPfYqr/i23zr6NcpKPrIBrx6I4l i2wWRzu9jY2NnqkVbMje8YinXsbZ4fffs2kaz9mvAMCOzpxe7xfBBUN4xxN+6DD2MQhDls0Cwa45 S/l9GmQZj5gnoSRW/PaKZiJsrjvNszzlrsuCeRKnGUvSIMqgN5pkQRz1eqpbLERPDfH53XUehL5z A8jVY5oAyZAw+E0/msbp3MuQiuk8k48nccr1Y56mcSq7fS/z3NCLbvSzTz/IB/PFJEl053wRBtey H2fV3VnqRQLnaj4COl1AoOjPFklQTnEciIzY4fMp+5DgmoXd3+8xaJsIy/eZ3WfDlyxOssRLBXck 1Cl+Twlu44wDDyPBvAih4CEjyJQFESh6NOHORo8gEzZux2P35XPH831X4rCt4TCKh0nKs2wxJLEM 5xw0xRfWgKArzeciG1sS2pVCXAHtkXTHlshAFO7UCwVvRzr18jAbX6Q5b3k842Eytj7OYB5YbBYj p6W6SjqkMiG3NSn9nuLsYRxlaRyyU9J90AjgVJpPgByhQUCYbBbFPif9buVPshgGUZANT1ZwZOEi iButZwMQsJILb5FNS9lQmKpakivndcEiQf1T/t95kILB8jueLtg04KFfcuN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