#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=94ce2a5dbe2202aff77231154182e994bbcb2e61 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 H4sIAAi1dmcAA+08a3PbOJLzWb8Ca0+KVEai/JxMeUfJeZzHeDdxXLFnc1M+D4sWIYsxRfII0rZ2 a+a3X3cDIMGHJHsnyV3VEVWJJLDRaPQLDXTTC+9GjBbwnzv3gshJFt98/rYF7dn+Pn5uP9vfpt87 W1v0iY+ebX3/zfbes939/d2dnX3o397e3dr9hm19AVoaLReZlzL2Nab6v9g2/zLKRTq6CqIRj25Z sshmcbTT29jY6JlawYbsDY946mWcHX33HZum8Zz9CgDs+IPT6/0iuGAI73jCDx3GPgZhyLJZINgV Zym/S4Ms4xHzJJTEit9e0EyEzXWneZan3HVZME/iNGNJGkQZ9EaTLIijXk91i4XoqSE+v73Kg9B3 rgG5ekwTIBkSBr/pR9M4nXsZUjGdZ/LxJE65fszTNE5lt+9lnht60bV+9ukH+WC+mCSJ7pwvwuBK 9uOsujtLvUjgXM1HQKcLCBT92SIJyineBiIjdvh8yt4nuGZh9w96DNomwvIDZvfZ8DmLkyzxUsEd CXWK31OC2/jAgYeRYF6EUPCQEWTKgggUPZpwZ6NHkAkbt+Ox+/K54/m+K3HY1nAYxcMk5Vm2GJJY hnMOmuILa0DQleZzkY0tCe1KIa6A9ki6Y0tkIAp36oWCtyOdenmYjc/TnLc8nvEwGVsfZzAPLDaL kdNSXSUdUpmQ25qUfk9x9iiOsjQO2SnpPmgEcCrNJ0CO0CAgTDaLYp+TfrfyJ1kMgyjIhicrOLJw EcSN1rMBCFjJhdfIpqVsKExVLcmV87pgkaD+K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qupwb0gGpLGKNH4STuGFkGgdytkbOlQ4zAV6FZe3sKi7Qmwqvsp4O X67vf5UvW2mevVYenZJTLUwzU/0rWbfJqPpF45M1MIhU662p6tQvgmtHrsSV9fYtmm9TQqXEQs8x 9TGQRTo8yud0g1eilAUZ/YqEAqwc2VriqAYmI6vmXKWnz/5VvqlW1i/ImbXuGfm/FpWsIvy9Kovy lb+GGMqddJUEXtHffkgkrLpRFQyEgYfi6tSbQTQJc5+zjUpM7sw2qktUOZ9ApmsclUYy6qILjCgg kXgTDmIjRuFFEIEbstNoKVuqnlaTptjAMHywGL/SWTNGv8UWDYmTTRbRBqlvvwmIzde2WVV1pKHf OsC0Gp+E2mTG74yNRsxkSQtDvlj8B2FZFsehOjIP78XMSx0x+6xzrPn7T1t7zfzP3s5+F/9/jVb7 +09Xnpj1NjHrgn/HAl9EpV/qz4FgFc8ShWE/6oCfVPl5ryd4xoYxi+I8gq/6ZxIkfOoFof7N0xTf aO311B+z+BcYCJ/MYraB5bYH7Nv/2Ch6roOMLsGCDPr/8+znww/um+Nz9+j9u3fH51QITXBWlbID +rsgGGDjcoSlwBB8CnunvGZmQ3r3eaqRLMXlgw+1er/3ehtI2f+29LrWta51rWtd61rXuta1rnWt a13rWte61rWuda1rXeta17rWta51rWtd61rXuta1rnWta13rWte69v+t/Q/RFea3AHgAAA== XSHAR_DATA } change_dir extract_data devtools/hello-xshar.sh "$@"