#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=92a7c6b83bab05409ef14c253bb0bdc24f738ce1 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 H4sIANu+dmcAA+08/XPbNrL9WX8Fzm6GVCpRtuPEHV+VnOt81HeJ47Hdy3X8XA4tQhZjiuQRpG3d Tfu33+4CIMEPSc41yXszj5hJJIGLxWK/sMAuvfBuxGgB/7lzL4icZPHN529b0PaePsXP7b2n2/R7 Z2uLPvHR3tazb7Z39548ffpkb/vZs2+2trefbD/7hm19AVoaLReZlzL2Nab6v9g2/zTKRTq6CqIR j25ZsshmcbTT29jY6JlawYbsDY946mWcHX73HZum8Zz9AgDs6NTp9X4WXDCEdzzhhw5jH4IwZNks EOyKs5TfpUGW8Yh5EkpixW8vaCbC5rrTPMtT7rosmCdxmrEkDaIMeqNJFsRRr6e6xUL01BCf317l Qeg714BcPaYJkAwJg9/0o2mczr0MqZjOM/l4EqdcP+ZpGqey2/cyzw296Fo/+/i9fDBfTJJEd84X YXAl+3FW3Z2lXiRwruYjoNMFBIr+bJEE5RRvA5ERO3w+Ze8TXLOw+/s9Bm0TYfk+s/ts+JzFSZZ4 qeCOhDrB7ynBbZxy4GEkmBchFDxkBJmyIAJFjybc2egRZMLG7XjsvnzueL7vShy2NRxG8TBJeZYt hiSW4ZyDpvjCGhB0pflcZGNLQrtSiCugPZLu2BIZiMKdeqHg7UinXh5m4/M05y2PZzxMxtaHGcwD i81i5LRUV0mHVCbktial31OcPYyjLI1DdkK6DxoBnErzCZAjNAgIk82i2Oek3638SRbDIAqy4fEK jixcBHGj9WwAAlZy4TWyaSkbClNVS3LlvC5YJKh/yv+ZBykYL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k3pANSWcQaPwgnccPINA7kbI2cKx1mArwKy9rZVVygNxVe ZT0dvlzf/yxfttI8e608OiWnWphmpvpXsm6TUfWLxidrYBCp1ltT1alfBNeOXIkr6+1bNN+mhEqJ hZ5j6mMgi3R4lM/pBq9EKQsy+hUJBVg5srXEUQ1MRlbNuUpPn/27fFOtrF+QM2vdM/J/LSpZRfhb VRblK38NMZQ76SoJvKK//ZBIWHWjKhgIAw/F1ak3g2gS5j5nG5WY3JltVJeocj6BTNc4Ko1k1EUX GFFAIvEmHMRGjMKLIAI3ZKfRUrZUPa0mTbGBYfhgMX6ls2aMfostGhInmyyiDVLffhMQm69ts6rq SEO/dYBpNT4JtcmM3xgbjZjJkhaGfLH4D8KyLI5DdWQe3ouZlzpi9lnnWPP3n7Z2m/mf3d2tLv7/ Gq3295+uPDHrbWLWBf+OBb6ISr/UnwPBKp4lCsN+0AE/qfLzXk/wjA1jFsV5BF/1zyRI+NQLQv2b pym+0drrqT9m8W8wED6ZxWwDy2332bd/2Sh6roOMLsGCDPr/cfbTwan75ujcPXz/7t3RORVCE5xV pWyf/i4IBti4HGEpMASfwt4pr5nZkN59nmokS3H54EOt3m+93gZS9r8tva51rWtd61rXuta1rnWt a13rWte61rWuda1rXeta17rWta51rWtd61rXuta1rnWta13rWte61rWu/X9r/wHrKdQgAHgAAA== XSHAR_DATA } change_dir extract_data devtools/hello-xshar.sh "$@"