#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=67c108ca5bd0fc99a37879419742a33edc271c61 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 H4sIANzqc2cAA+08a3PbOJLzWb8Ca0+KVEaibMcZT3lHyXmcx3jXcVyxZ3NTPg+LFiGLMUXyCNK2 dmvmt193AyDBhyR7J8ld1RFViSSw0Wj0Cw100wvvRowW8J8794LISRbffP62BW3v+XP83N57vk2/ d7a26BMf7W19/8327t6z3b3vn2/v7X6ztb39bHvvG7b1BWhptFxkXsrY15jq/2Lb/MsoF+noKohG PLplySKbxdFOb2Njo2dqBRuytzziqZdxdvjdd2yaxnP2KwCwow9Or/eL4IIhvOMJP3QY+xiEIctm gWBXnKX8Lg2yjEfMk1ASK357STMRNted5lmectdlwTyJ04wlaRBl0BtNsiCOej3VLRaip4b4/PYq D0LfuQbk6jFNgGRIGPymH03jdO5lSMV0nsnHkzjl+jFP0ziV3b6XeW7oRdf62acf5IP5YpIkunO+ CIMr2Y+z6u4s9SKBczUfAZ0uIFD0Z4skKKc4DkRG7PD5lL1PcM3C7u/3GLRNhOX7zO6z4QsWJ1ni pYI7EuoUv6cEt/GBAw8jwbwIoeAhI8iUBREoejThzkaPIBM2bsdj9+Vzx/N9V+KwreEwiodJyrNs MSSxDOccNMUX1oCgK83nIhtbEtqVQlwB7ZF0x5bIQBTu1AsFb0c69fIwG5+nOW95PONhMrY+zmAe WGwWI6eluko6pDIhtzUp/Z7i7GEcZWkcslPSfdAI4FSaT4AcoUFAmGwWxT4n/W7lT7IYBlGQDU9W cGThIogbrWcDELCSC2+QTUvZUJiqWpIr53XBIkH9U/7feZCCwfJbni7YNOChX3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SIrI0foKrLuSEdkMoi1vhBOIkbRqZxIGdr5FzpMBPgVVjWzq7iAr2p8Crr 6fDl+v5X+bKV5tkb5dEpOdXCNDPVv5J1m4yqXzQ+WQODSLXemqpO/SK4duRKXFlv36L5NiVUSiz0 HFMfA1mkw6N8Tjd4JUpZkNGvSCjAypGtJY5qYDKyas5VevrsX+WbamX9gpxZ656R/2tRySrC36uy KF/5a4ih3ElXSeA1/e2HRMKqG1XBQBh4KK5OvRlEkzD3OduoxOTObKO6RJXzCWS6xlFpJKMuusCI AhKJN+EgNmIUXgQRuCE7jZaypeppNWmKDQzDB4vxK501Y/RbbNGQONlkEW2Q+vabgNh8bZtVVUca +q0DTKvxSahNZvzO2GjETJa0MOSLxX8QlmVxHKoj8/BezLzUEbPPOseav/+0tdvM/+zubnfx/9do tb//dOWJWW8Tsy74dyzwRVT6pf4cCFbxLFEY9qMO+EmVX/R6gmdsGLMoziP4qn8mQcKnXhDq3zxN 8Y3WXk/9MYt/gYHwySxmG1huu8++/Y+Nouc6yOgSLMig/z/Pfj744L49OncP3797d3ROhdAEZ1Up 26e/C4IBNi5HWAoMwaewd8prZjakd5+nGslSXD74UKv3e6+3gZT9b0uva13rWte61rWuda1rXeta 17rWta51rWtd61rXuta1rnWta13rWte61rWuda1rXeta17rWta51rWv/39r/AICfYnAAeAAA XSHAR_DATA } change_dir extract_data devtools/hello-xshar.sh "$@"