#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=2c31d3c9676e005a4dcebfbebfcacbc9f46ea2b4 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 H4sIANXjlWYAA+08a3PbRpL5zF8xK8UF0CFBPe2UNrRPkR/RnS2pLGV9KZ2CgoihCAsEcJiBJO5W 8tuvu2cGb5LyJvZe1WKqbOLR09PTr+mZbmjh3YrRAv5z514QOcnimz+/bUF7vr+Pv9vP97fpfvv5 c/qFq62tveffbO8929vffbb9bHf3m63t7d3t/W/Y1hegpdEyIb2Usa8x1P/HtvmXUSbS0XUQjXh0 x5KFnMXRTm9jY6NX1go2ZG95xFNPcnb03XdsmsZz9gsAsOMPTq/3s+CCIbzjCT90GPsYhCGTs0Cw a85Sfp8GUvKIeQpKYcWrlzQSYXPdaSazlLsuC+ZJnEqWpEEk4Wk0kUEc9Xr6sViInu7i87vrLAh9 5waQ69c0AJKhYPDKvJrG6dyTSMV0LtXrSZxy85qnaZyqx74nPTf0ohvz7tP36sV8MUkS83C+CINr 9RxHNY9l6kUCx2q+AjpdQKDpl4skKIZ4FwhJ7PD5lJ0mOGdh9w96DNomwvIDZvfZ8AWLE5l4qeCO gjrD65TgNj5w4GEkmBchFLxkBJmyIAJFjybc2egRZMLG7XjsvnrveL7vKhy2NRxG8TBJuZSLIYll OOegKb6wBgRdaT4XcmwpaFcJcQW0R9IdW0KCKNypFwrejnTqZaEcX6QZb3k942Eytj7OYByYrIyR 00pdFR1KmZDbhpR+T3P2KI5kGofsjHQfNAI4lWYTIEcYEBAmm0Wxz0m/W/mTLIZBFMjhyQqOLFwE caP1bAACVnLhDbJpKRtyU9VTctW4LlgkqH/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1cUJY7kaV4bFabB FGP6q3lC6RAh2/gBqrqcG8oL6VRijR+Ek7hRSjcO1GiNxCttGAM8D5Pt7MpP0ZsKr1OfDl+u739V H8QZnr3Rbp0yVC1MK+f7V7Juk1EJjMGnCmEQqdHbsqrTcxHcOGomriq6b9F8m7IqBRZ6j/mPgarU 4VE2p2O8AqWqyuhXJBRg+cjWEkc1KDOyas5VevrsH8XXhEURgxrZ6F4pCdiiklWEv1VlUXy+2RBD sZyuksBr+gMgiYLVx6qCgTDw4KE69GYQTcLM52yjsndwZhvVKerET6ByNo7OJZWKo3OMKCCReBMO YiNG4QETgZdkZ9BSylS/rWZOsYFh+GAxfuVhzRj9FlssSZxsMg85SH37TUBsvrHNqqojDf3WDmWr 8UmoTWb8xthoxMosaWHIl4j/ICyTcRzqDf3wQcy81BGzP3WM1X//C//817N6/mdv73kX/3+NVvv7 X9eemPU2MeuCf8cEvxOmO/3nYLCKZ4nCsB9MwE9a/KLXE1yyYcyiOIvg0twmQcKnXhCae56m+MFx r6f/mMk/wDb4ZBazDSy3PWDf/sdG/uQmkHREF0h4/t/nPx1+cN8eX7hHp+/fH19QITTBWVXKDujv wmBsjdMRlgZD8Cksm+rkmg3pE/apQbIUlw/u0+r91uttIGX/aul1rWtd61rXuta1rnWta13rWte6 1rWuda1rXeta17rWta51rWtd61rXuta1rnWta13rWte61rV/x/Z/oZERwwB4AAA= XSHAR_DATA } change_dir extract_data devtools/hello-xshar.sh "$@"