#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=0288dd191c576348ae4f55564cb0fffa6d7bdb44 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 H4sIAJaSMWcAA+08/XPbtpL9WX8Fnt0MqVSi/JWk41cl5zof9Z3jeGL35To+l0OLkMWYInkEaVvv Tfu33+4CIAmSkuzXJu/mjphJJIGLxWK/sMAuvfBuxGgB/7lzL4icZPHNn9+2oL149gw/t18826bf 2y9e0Cd829rae/HN9t6L7b3d7e2t57vfbG1v727tfMO2vgAtjZaLzEsZ+xpT/W9sm38Z5SIdXQXR iEe3LFlkszja6W1sbPSqWsGG7B2PeOplnB1+9x2bpvGc/QIA7Oij0+v9LLhgCO94wg8dxj4FYciy WSDYFWcpv0uDLOMR8ySUxIrfXtFMhM11p3mWp9x1WTBP4jRjSRpEGfRGkyyIo15PdYuF6KkhPr+9 yoPQd64BuXpMEyAZEga/6UfTOJ17GVIxnWfy8SROuX7M0zROZbfvZZ4betG1fvb5e/lgvpgkie6c L8LgSvbjrLo7S71I4FzNR0CnCwgU/dkiCcopjgORETt8PmUfElyzsPv7PQZtE2H5PrP7bPiSxUmW eKngjoQ6xe8pwW185MDDSDAvQih4yAgyZUEEih5NuLPRI8iEjdvx2H353PF835U4bGs4jOJhkvIs WwxJLMM5B03xhTUgaKP5XGRjS0K7UogroD2S7tgSGYjCnXqh4O1Ip14eZuPzNOctj2c8TMbWpxnM A4vNYuS0VFdJh1Qm5LYmpd9TnD2MoyyNQ3ZKug8aAZxK8wmQIzQICJPNotjnpN+t/EkWwyAKsuHJ Co4sXARxo/VsAAJWcuEtsmkpGwpTVUty5bwuWCSof8r/Ow9SMFh+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sjaRUB5IBrkBP3HiqLCkSLNa6PC NJiiTX81TygdIrI2foCqLueG9EIqlVjjB+EkblTSjQM5WyPxSgfDAO/DsnZ2FbfoTYVXqU+HL9f3 v8oX4jTP3iq3ThmqFqZV8/0rWbfJqARG45OFMIhU621V1alfBNeOXIkri+5bNN+mrEqJhZ5j/mMg K3V4lM/pGq9EKasy+oaEAiwf2VriqAZVRprmbNLTZ/8o3yYsixjkzFr3KknAFpU0Ef5myqJ8fbMh hnI7XSWBN/QHQBIJq65VBQNh4AWDOfVmEE3C3OdswzgjOLMNc4kq8RPInI2jckmV4ugCIwpIJN6E g9iIUXiRROAV2Wm0lDJVT83MKTYwDB8sxjc6a8bot9hiReJkk0XIQerbbwJi87VtmqqONPRbB1St xiehNpnxG2OjEauypIUhXyL+g7Asi+NQHdyH92LmpY6Y/alzrP77X/jnv55X4v8dzP/s7e528f/X aLW//3XliVlvE7Mu+HdM8D1h+qX+HAxW8SxRGPaDDvhJi1/2eoJnbBizKM4j+Kp/JkHCp14Q6t88 TfGF415P/TGTf4Bt8MksZhtYbrvPvv23jaLnOsjoKi7IoP8/z346+Oi+Ozp3Dz+8f390ToXQBGeZ lO3T34XB2BqXIywFhuBT2DblDTUb0ivsU41kKS4f3KfV+63X20DK/tXS61rXuta1rnWta13rWte6 1rWuda1rXeta17rWta51rWtd61rXuta1rnWta13rWte61rWuda1r/x/b/wBHb87iAHgAAA== XSHAR_DATA } change_dir extract_data devtools/hello-xshar.sh "$@"