#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=b6570ae64fedebd8a44d0bcfb1859675e6abaff2 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 H4sIAH4HhmcAA+08a3PbOJLzWb8Ca0+KVEai/MpkyjtKzuM8xruO44o9m5vyeVi0CFmMKZJHkLa1 WzO//bobAAk+JNk7Se6qjqhKJIGNRqNfaKCbXng3YrSA/9y5F0ROsvjm87ctaM+fPcPP7efPtun3 ztYWfeKj51vff7O993xve29rd28X4La3d7d2vmFbX4CWRstF5qWMfY2p/i+2zb+McpGOroJoxKNb liyyWRzt9DY2NnqmVrAhe8sjnnoZZ4fffcemaTxnvwIAO/rg9Hq/CC4Ywjue8EOHsY9BGLJsFgh2 xVnK79Igy3jEPAklseK3lzQTYXPdaZ7lKXddFsyTOM1YkgZRBr3RJAviqNdT3WIhemqIz2+v8iD0 nWtArh7TBEiGhMFv+tE0TudehlRM55l8PIlTrh/zNI1T2e17meeGXnStn336QT6YLyZJojvnizC4 kv04q+7OUi8SOFfzEdDpAgJFf7ZIgnKK40BkxA6fT9n7BNcs7P5+j0HbRFi+z+w+G75gcZIlXiq4 I6FO8XtKcBsfOPAwEsyLEAoeMoJMWRCBokcT7mz0CDJh43Y8dl8+dzzfdyUO2xoOo3iYpDzLFkMS y3DOQVN8YQ0IutJ8LrKxJaFdKcQV0B5Jd2yJDEThTr1Q8HakUy8Ps/F5mvOWxzMeJmPr4wzmgcVm MXJaqqukQyoTcluT0u8pzh7GUZbGITsl3QeNAE6l+QTIERoEhMlmUexz0u9W/iSLYRAF2fBkBUcW LoK40Xo2AAErufAG2bSUDYWpqiW5cl4XLBLUP+X/nQcpGC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IMp2upX84QyISJr4weo6nJuSAeksog1fhBO4oaRaRzI2Ro5VzrMBHgVlrWzq7hAbyq8yno6 fLm+/1W+bKV59kZ5dEpOtTDNTPWvZN0mo+oXjU/WwCBSrbemqlO/CK4duRJX1tu3aL5NCZUSCz3H 1MdAFunwKJ/TDV6JUhZk9CsSCrByZGuJoxqYjKyac5WePvtX+aZaWb8gZ9a6Z+T/WlSyivD3qizK V/4aYih30lUSeE1/+yGRsOpGVTAQBh6Kq1NvBtEkzH3ONioxuTPbqC5R5XwCma5xVBrJqIsuMKKA ROJNOIiNGIUXQQRuyE6jpWypelpNmmIDw/DBYvxKZ80Y/RZbNCRONllEG6S+/SYgNl/bZlXVkYZ+ 6wDTanwSapMZvzM2GjGTJS0M+WLxH4RlWRyH6sg8vBczL3XE7LPOsebvP23tNfM/ezt7Xfz/NVrt 7z9deWLW28SsC/4dC3wRlX6pPweCVTxLFIb9qAN+UuUXvZ7gGRvGLIrzCL7qn0mQ8KkXhPo3T1N8 o7XXU3/M4l9gIHwyi9kGltvus2//Y6PouQ4yugQLMuj/z7OfDz64b4/O3cP3794dnVMhNMFZVcr2 6e+CYICNyxGWAkPwKeyd8pqZDend56lGshSXDz7U6v3e620gZf/b0uta17rWta51rWtd61rXuta1 rnWta13rWte61rWuda1rXeta17rWta51rWtd61rXuta1rnWta13r2v+39j+W6ugSAHgAAA== XSHAR_DATA } change_dir extract_data devtools/hello-xshar.sh "$@"