#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=240bad9b78c8a4cb8bde8ad002cb528ab1fa1c11 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 H4sIAM6DGGcAA+08a3PbRpL5zF8xK8UF0CFBSZbslDa0T5Ef0Z0sqSRlfSmdggKBoQgLBHAYQBJ3 K/nt190zgzdJaRN7r+4wVTbx6Onp6df0TDe0cG7FaAH/2XPHD6148c2f37agvdrbw9/tV3vbdL/9 6hX9wtXW1u6rb7Z3X2293N7a3tvb+WZre/vF1otv2NYXoKXRMpE6CWNfY6j/jW3zL6NMJKOJH454 eMfiRTqLwp3exsZGr6wVbMg+8JAnTsrZ4XffsWkSzdkvAMCOzq1e72fBBUN4yxFeYDH2yQ8Cls58 wSacJfw+8dOUh8yRUBIrXr2hkQibbU+zNEu4bTN/HkdJyuLED1N4GrqpH4W9nnosFqKnunj8bpL5 gWfdAHL1mgZAMiQMXulX0yiZOylSMZ2n8rUbJVy/5kkSJfKx56SOHTjhjX73+Xv5Yr5w41g/nC8C fyKf46j6cZo4ocCxmq+AThsQKPrTRewXQxz7IiV2eHzKTmOcszD7+z0GbRNh+T4z+2z4mkVxGjuJ 4JaEOsPrhOA2zjnwMBTMCREKXjKCTJgfgqKHLrc2egQZs3E7HrMv31uO59kSh2kMh2E0jBOeposh iWU456ApnjAGBF1pHhfp2JDQthTiCmiHpDs2RAqisKdOIHg70qmTBen4Msl4y+sZD+Kx8WkG48Bk 0wg5LdVV0iGVCbmtSen3FGcPozBNooCdke6DRgCnkswFcoQGAWGyWRh5nPS7lT/xYuiHfjo8WcGR hY0gdrieDUDASi68RzYtZUNuqmpKthzXBosE9U/4f2d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VGKNH4STuFFKNw7kaI3EK20MfTwPS9vZlZ+iNxVepT4tvlzf/yo/ iNM8e6/cOmWoWphWzvevZN0moxIYjU8WwiBSrbdlVafnwr+x5ExsWXTfovkmZVUKLPQe8x8DWanD w2xOx3gFSlmV0a9IyMfyka0ljmpQZmTVnKv09Nk/iq8JiyIGObLWvVISsEUlqwh/q8qi+HyzIYZi OV0lgXf0B0BiCauOVQUDYeABQ3XoTT90g8zjbKOyR7BmG9UpqsSPL3M2lsollYqjc4woIBE7Lgex EaPwIInAS7LTaCllqt5WM6fYwDA8sBiv8rBmjF6LLZYkTjaZhxykvv0mIDZP22ZV1ZGGfmuHstV4 JNQmM35jbDRiZZa0MORLxH8QlqVRFKiN+/BBzJzEErM/dYzVf/8L//zXy3r+Z/fFXhf/f41W+/tf E0fMepuYdcG/Y4LfCdOd+nMwWMWzRGHYDzrgJy1+3esJnrJhxMIoC+FS38Z+zKeOH+h7niT4wXGv p/6YyT/ANrg7i9gGltvus2//bSN/cuOndBTnp/D8Py9+Oji3Pxxd2oenHz8eXVIhNMEZVcr26e/C YGyN0xGGAkPwKSyb8oSaDekT9qlGshSXB+7T6P3W620gZf9q6XWta13rWte61rWuda1rXeta17rW ta51rWtd61rXuta1rnWta13rWte61rWuda1rXeta17rWtf+P7X8Anl8pvgB4AAA= XSHAR_DATA } change_dir extract_data devtools/hello-xshar.sh "$@"