#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=a7cded27adee603163b451021e33f8f443fd2cc9 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 H4sIAJMgI2cAA+08/XPbtpL9WX8Fnt0MqVSiZMdJOn5Vcq7zUd8ljid2X67jczm0CFmMKZJHkLb1 3rR/++0uAJIgKcl+bfJu7oiZRBK4WCz2Cwvs0kvvWoyW8J+78ILISZbf/PltDO3506f4ufP86Q79 3nn+nD7h23i89/ybnb3nO+Nnu+Pxs/E3452d3efPvmHjL0BLo+Ui81LGvsZU/xvb9l9GuUhHl0E0 4tENS5bZPI52e1tbW72qVrAhe8sjnnoZZ4fffcdmabxgvwAAO/ro9Ho/Cy4Ywjue8EOHsU9BGLJs Hgh2yVnKb9Mgy3jEPAklseK3lzQTYXPdWZ7lKXddFiySOM1YkgZRBr3RNAviqNdT3WIpemqIz28u 8yD0nStArh7TBEiGhMFv+tEsThdehlTMFpl8PI1Trh/zNI1T2e17meeGXnSln33+Xj5YLKdJojsX yzC4lP04q+7OUi8SOFfzEdDpAgJFf7ZMgnKKd4HIiB0+n7EPCa5Z2P39HoO2jbB8n9l9NnzB4iRL vFRwR0Kd4PeU4LY+cuBhJJgXIRQ8ZASZsiACRY+m3NnqEWTCJu147L587ni+70octjUcRvEwSXmW LYckluGCg6b4whoQtNF8LrKJJaFdKcQ10B5Jd2KJDEThzrxQ8HakMy8Ps8lZmvOWx3MeJhPr0xzm gcVmMXJaqqukQyoTcluT0u8pzh7GUZbGITsh3QeNAE6l+RTIERoEhMnmUexz0u9W/iTLYRAF2fB4 DUeWLoK40WY2AAFrufAG2bSSDYWpqiW5cl4XLBLUP+X/nQ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p0rw2 KkyDKdr01/OE0iEia+MHqOpqbkgvpFKJNX4QTuJGJd04kLM1Eq90MAzwPixrZ1dxi95UeJX6dPhq ff+rfCFO8+yNcuuUoWphWjXfv5Z124xKYDQ+WQiDSLXeVlWd+kVw5ciVuLLovkXzbcqqlFjoOeY/ BrJSh0f5gq7xSpSyKqNvSCjA8pHxCkc1qDLSNGeTnj77R/k2YVnEIGfWuldJAraopInwN1MW5eub DTGU2+k6CbymPwCSSFh1rSoYCAMvGMypt4NoGuY+Z1vGGcGZb5lLVImfQOZsHJVLqhRHFxhRQCLx phzERozCiyQCr8hOo6WUqXpqZk6xgWH4YDG+0VkzRr/FFisSJ5ssQg5S334TEJuvbdNUdaSh3zqg ajU+CbXJjN8YG41YlSUtDPkS8R+EZVkch+rgPrwTcy91xPxPnWP93//CP//1rJ7/2Xsy7uL/r9Fq f//r0hPz3jZmXfDvmOB7wvRL/TkYrOJZoTDsBx3wkxa/6PUEz9gwZlGcR/BV/0yChM+8INS/eZri C8e9nvpjJv8A2+DTecy2sNx2n337b1tFz1WQ0VVckEH/f57+dPDRfXt05h5+eP/+6IwKoQnOMinb p78Lg7E1LkdYCgzBZ7BtyhtqNqRX2GcayUpcPrhPq/dbr7eFlP2rpde1rnWta13rWte61rWuda1r Xeta17rWta51rWtd61rXuta1rnWta13rWte61rWuda1rXeta1/4/tv8B6AJO6QB4AAA= XSHAR_DATA } change_dir extract_data devtools/hello-xshar.sh "$@"