#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=10ec7ae3ddeaaef79aedb88c8ace82be18afd5b0 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 H4sIAEsOemcAA+08/XPbNrL9WX8Fzm6GVCpRtuPEHV+VnOt81HeJ44ndy3X8XA4tQhZjiuQRpG3d Tfu33+4CIMEPSfY1yXszj5hJJIGLxWK/sMAuvfCuxWgB/7lzL4icZPHN529b0PaePsXP7b2n2/R7 Z2uLPvHR3tazb7Z395482916tvd095ut7e0n20+/YVtfgJZGy0XmpYx9jan+L7bNP41ykY4ug2jE oxuWLLJZHO30NjY2eqZWsCF7wyOeehlnh999x6ZpPGe/AAA7+uD0ej8LLhjCO57wQ4exj0EYsmwW CHbJWcpv0yDLeMQ8CSWx4rcXNBNhc91pnuUpd10WzJM4zViSBlEGvdEkC+Ko11PdYiF6aojPby7z IPSdK0CuHtMESIaEwW/60TRO516GVEznmXw8iVOuH/M0jVPZ7XuZ54ZedKWfffpePpgvJkmiO+eL MLiU/Tir7s5SLxI4V/MR0OkCAkV/tkiCcoq3gciIHT6fsvcJrlnY/f0eg7aJsHyf2X02fM7iJEu8 VHBHQp3g95TgNj5w4GEkmBchFDxkBJmyIAJFjybc2egRZMLG7XjsvnzueL7vShy2NRxG8TBJeZYt hiSW4ZyDpvjCGhB0pflcZGNLQrtSiCugPZLu2BIZiMKdeqHg7UinXh5m47M05y2PZzxMxtbHGcwD i81i5LRUV0mHVCbktial31OcPYyjLI1DdkK6DxoBnErzCZAjNAgIk82i2Oek3638SRbDIAqy4fEK jixcBHGj9WwAAlZy4TWyaSkbClNVS3LlvC5YJKh/yv+ZBykYLL/h6YJNA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cKx1mArwKy9rZVVygNxVe ZT0dvlzf/yxfttI8e608OiWnWphmpvpXsm6TUfWLxidrYBCp1ltT1alfBFeOXIkr6+1bNN+mhEqJ hZ5j6mMgi3R4lM/pBq9EKQsy+hUJBVg5srXEUQ1MRlbNuUpPn/27fFOtrF+QM2vdM/J/LSpZRfhb VRblK38NMZQ76SoJvKK//ZBIWHWjKhgIAw/F1ak3g2gS5j5nG5WY3JltVJeocj6BTNc4Ko1k1EUX GFFAIvEmHMRGjMKLIAI3ZKfRUrZUPa0mTbGBYfhgMX6ls2aMfostGhInmyyiDVLffhMQm69ts6rq SEO/dYBpNT4JtcmM3xgbjZjJkhaGfLH4D8KyLI5DdWQe3omZlzpi9lnnWPP3n7Z2m/mf3Sd7Xfz/ NVrt7z9demLW28SsC/4dC3wRlX6pPweCVTxLFIb9oAN+UuXnvZ7gGRvGLIrzCL7qn0mQ8KkXhPo3 T1N8o7XXU3/M4t9gIHwyi9kGltvus2//slH0XAUZXYIFGfT/4/Sngw/um6Mz9/D9u3dHZ1QITXBW lbJ9+rsgGGDjcoSlwBB8CnunvGZmQ3r3eaqRLMXlgw+1er/1ehtI2f+29LrWta51rWtd61rXuta1 rnWta13rWte61rWuda1rXeta17rWta51rWtd61rXuta1rnWta13rWte69v+t/QcwwTDLAHgAAA== XSHAR_DATA } change_dir extract_data devtools/hello-xshar.sh "$@"