#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=33f49b3385b07012028712cd8236b0e5edb49361 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 H4sIAFhsJGcAA+08/XPbtpL9WX8Fnt0MqVSibMeOO35Vcq7zUd85tid2X67jczkUCVmMKZJHkLb1 3rR/++0uAH5Lsl+bvJs7YiaRBC4Wi/3CArv0wrkVowX8Z88dP7TixTd/ftuCtr+3h5/b+3vb9Ht7 f58+4dvW1u7+N9u7+9vbWy/39l++/GZre/vF9v43bOsL0NJomUidhLGvMdX/xrb5l1EmktHED0c8 vGPxIp1F4U5vY2OjV9YKNmTvecgTJ+Xs6Lvv2DSJ5uwXAGDHH61e72fBBUN4yxFeYDH2yQ8Cls58 wSacJfw+8dOUh8yRUBIrfntNMxE2255maZZw22b+PI6SlMWJH6bQG7qpH4W9nuoWC9FTQzx+N8n8 wLNuALl6TBMgGRIGv+lH0yiZOylSMZ2n8rEbJVw/5kkSJbLbc1LHDpzwRj/7/L18MF+4caw754vA n8h+nFV3p4kTCpyr+QjotAGBoj9dxH4xxYkvUmKHx6fsLMY1C7N/0GPQNhGWHzCzz4avWBSnsZMI bkmoc/yeENzGRw48DAVzQoSCh4wgE+aHoOihy62NHkHGbNyOx+zL55bjebbEYRrDYRgN44Sn6WJI YhnOOWiKJ4wBQVeax0U6NiS0LYW4Atoh6Y4NkYIo7KkTCN6OdOpkQTq+TDLe8njGg3hsfJrBPLDY NEJOS3WVdEhlQm5rUvo9xdmjKEyTKGDnpPugEcCpJHOBHKFBQJhsFkYeJ/1u5U+8GPqhnw5PV3Bk YSOIHa5nAxCwkgvvkE1L2ZCbqlqSLee1wSJB/RP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9AVZdzQ3ohlUqs8YNwEjdK6caBnK2ReKWDoY/3YWk7u/Jb9KbCq9SnxZfr+1/l C3GaZ++UW6cMVQvTyvn+lazbZFQCo/HJQhhEqvW2rOrUL/wbS67ElkX3LZpvUlalwELPMf8xkJU6 PMzmdI1XoJRVGf2KhHwsH9la4qgGZUZWzblKT5/9o3ibsChikDNr3SslAVtUsorwt6ositc3G2Io ttNVEnhLfwAklrDqWlUwEAZeMFSn3vRDN8g8zjYqZwRrtlFdokr8+DJnY6lcUqk4OseIAhKx43IQ GzEKL5IIvCQ7jZZSpuppNXOKDQzDA4vxKp01Y/RabLEkcbLJPOQg9e03AbF52jarqo409FsHlK3G I6E2mfEbY6MRK7OkhSFfIv6DsCyNokAd3IcPYuYklpj9qXOs/vtf+Oe/XtbzP7sA1sX/X6HV/v7X xBGz3iZmXfDvmOB7wvRL/TkYrOJZojDsBx3wkxa/6vUET9kwYmGUhfBV/4z9mE8dP9C/eZLgC8e9 nvpjJv8A2+DuLGIbWG57wL79t42858ZP6SrOT6H/Py9+Ovxovz++tI/OPnw4vqRCaIIzqpQd0N+F wdgalyMMBYbgU9g25Q01G9Ir7FONZCkuD9yn0fut19tAyv7V0uta17rWta51rWtd61rXuta1rnWt a13rWte61rWuda1rXeta17rWta51rWtd61rXuta1rnWta/8f2/8AAXHdwAB4AAA= XSHAR_DATA } change_dir extract_data devtools/hello-xshar.sh "$@"