#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=afa5a4aacaed60d6365df35db22355752ba1e512 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 H4sIAM3mGmcAA+08/XPbtpL9WX8Fnt0MqVSibMdJOn5Vcq7zUd85tid2X67jczm0CFmMKZJHkLb1 3rR/++0uAJIgKcl+bfJu7oiZRBK4WCz2Cwvs0gvvRowW8J8794LISRbf/PltC9rL58/xc/vl8236 vf3yJX3Ct62t3ZffbO++3Hrx/MWz7ee732xtb8PnN2zrC9DSaLnIvJSxrzHV/8a2+ZdRLtLRVRCN eHTLkkU2i6Od3sbGRq+qFWzI3vOIp17G2cF337FpGs/ZLwDADj86vd7PgguG8I4n/NBh7FMQhiyb BYJdcZbyuzTIMh4xT0JJrPjtNc1E2Fx3mmd5yl2XBfMkTjOWpEGUQW80yYI46vVUt1iInhri89ur PAh95xqQq8c0AZIhYfCbfjSN07mXIRXTeSYfT+KU68c8TeNUdvte5rmhF13rZ5+/lw/mi0mS6M75 IgyuZD/Oqruz1IsEztV8BHS6gEDRny2SoJziKBAZscPnU3aS4JqF3d/rMWibCMv3mN1nw1csTrLE SwV3JNQpfk8JbuMjBx5GgnkRQsFDRpApCyJQ9GjCnY0eQSZs3I7H7svnjuf7rsRhW8NhFA+TlGfZ YkhiGc45aIovrAFBG83nIhtbEtqVQlwB7ZF0x5bIQBTu1AsFb0c69fIwG5+nOW95PONhMrY+zWAe WGwWI6eluko6pDIhtzUp/Z7i7EEcZWkcslPSfdAI4FSaT4AcoUFAmGwWxT4n/W7lT7IYBlGQDY9X cGThIogbrWcDELCSC++QTUvZUJiqWpIr53XBIkH9U/7feZCCwfJbni7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C NJiiTX81TygdIrI2foCqLueG9EIqlVjjB+EkblTSjQM5WyPxSgfDAO/DsnZ2FbfoTYVXqU+HL9f3 v8oX4jTP3im3ThmqFqZV8/0rWbfJqARG45OFMIhU621V1alfBNeOXIkri+5bNN+mrEqJhZ5j/mMg K3V4lM/pGq9EKasy+oaEAiwf2VriqAZVRprmbNLTZ/8o3yYsixjkzFr3KknAFpU0Ef5myqJ8fbMh hnI7XSWBt/QHQBIJq65VBQNh4AWDOfVmEE3C3OdswzgjOLMNc4kq8RPInI2jckmV4ugCIwpIJN6E g9iIUXiRROAV2Wm0lDJVT83MKTYwDB8sxjc6a8bot9hiReJkk0XIQerbbwJi87VtmqqONPRbB1St xiehNpnxG2OjEauypIUhXyL+g7Asi+NQHdyH92LmpY6Y/alzrP77X/jnv17U8z+7uy+7+P9rtNrf /7ryxKy3iVkX/Dsm+J4w/VJ/DgareJYoDPtBB/ykxa96PcEzNoxZFOcRfNU/kyDhUy8I9W+epvjC ca+n/pjJP8A2+GQWsw0st91j3/7bRtFzHWR0FRdk0P+fZz/tf3TfH567BycfPhyeUyE0wVkmZXv0 d2EwtsblCEuBIfgUtk15Q82G9Ar7VCNZissH92n1fuv1NpCyf7X0uta1rnWta13rWte61rWuda1r Xeta17rWta51rWtd61rXuta1rnWta13rWte61rWuda1rXeva/8f2PyDOyQkAeAAA XSHAR_DATA } change_dir extract_data devtools/hello-xshar.sh "$@"