#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=30e989de999af530c22fdd86e6c1ce1cc11667cb 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 H4sIAFd9mGYAA+08a3PbRpL5zF8xK8UF0CFBSZbtlDa0T5Ef0Z0tqSRlfSmdgoKIoQgLBHCYgSTu VvLbr7tnBm+S0ib2XtViqmzi0dPT06/pmW5o4d2I0QL+c+deEDnJ4ps/v21Be/n8Of5uv3y+Tffb L1/SL1xtbe2+/GZ798Xui62XL3af7Xyztb39bPvFN2zrC9DSaJmQXsrY1xjq/2Pb/MsoE+noKohG PLplyULO4mint7Gx0StrBRuy9zziqSc5O/juOzZN4zn7BQDY4anT6/0suGAI73jCDx3GPgVhyOQs EOyKs5TfpYGUPGKeglJY8eo1jUTYXHeaySzlrsuCeRKnkiVpEEl4Gk1kEEe9nn4sFqKnu/j89ioL Qt+5BuT6NQ2AZCgYvDKvpnE69yRSMZ1L9XoSp9y85mkap+qx70nPDb3o2rz7/L16MV9MksQ8nC/C 4Eo9x1HNY5l6kcCxmq+AThcQaPrlIgmKIT4EQhI7fD5lxwnOWdj9vR6DtomwfI/ZfTZ8xeJEJl4q uKOgTvA6JbiNUw48jATzIoSCl4wgUxZEoOjRhDsbPYJM2Lgdj91X7x3P912Fw7aGwygeJimXcjEk sQznHDTFF9aAoCvN50KOLQXtKiGugPZIumNLSBCFO/VCwduRTr0slOPzNOMtr2c8TMbWpxmMA5OV MXJaqauiQykTctuQ0u9pzh7EkUzjkJ2Q7oNGAKfSbALkCAMCwmSzKPY56Xcrf5LFMIgCOTxawZGF iyButJ4NQMBKLrxDNi1lQ26qekquGtcFiwT1T/n/ZkE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