#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=bdd02d8da79209c71f884bdeaa7d2e996f096ac9 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 H4sIACedL2cAA+08a3PbRpL5zF8xK8UF0CFBvWyntKF9ivyI7mRJJSnrS+kUFAgMRVgggMMAkrhb yW+/7p4ZvElKm9h7dYepskkOenp6+jU90w0tnFsxWsB/9tzxQytefPPnty1or168wM/tVy+26ff2 q1f0Cd+2tvZefbO992p799X2y90teL69vbv14hu29QVoabRMpE7C2NeY6n9j2/zLKBPJaOKHIx7e sXiRzqJwp7exsdErawUbsg885ImTcnb43XdsmkRz9gsAsKNzq9f7WXDBEN5yhBdYjH3yg4ClM1+w CWcJv0/8NOUhcySUxIrf3tBMhM22p1maJdy2mT+PoyRlceKHKfSGbupHYa+nusVC9NQQj99NMj/w rBtArh7TBEiGhMFv+tE0SuZOilRM56l87EYJ1495kkSJ7Pac1LEDJ7zRzz5/Lx/MF24c6875IvAn sh9n1d1p4oQC52o+AjptQKDoTxexX0xx7IuU2OHxKTuNcc3C7O/3GLRNhOX7zOyz4WsWxWnsJIJb EuoMvycEt3HOgYehYE6IUPCQEWTC/BAUPXS5tdEjyJiN2/GYffnccjzPljhMYzgMo2Gc8DRdDEks wzkHTfGEMSDoSvO4SMeGhLalEFdAOyTdsSFSEIU9dQLB25FOnSxIx5dJxlsez3gQj41PM5gHFptG yGmprpIOqUzIbU1Kv6c4exiFaRIF7Ix0HzQCOJVkLpAjNAgIk83CyOOk3638iRdDP/TT4ckKjixs BLHD9WwAAlZy4T2yaSkbclNVS7LlvDZYJKh/wv878xMwWH7HkwWb+jzwCm5czrieZcDuZ747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BKJdb4QTiJG6V040DO1ki80sHQx/uwtJ1d+S16U+FV6tPiy/X9r/KFOM2z 98qtU4aqhWnlfP9K1m0yKoHR+GQhDCLVeltWdeoX/o0lV2LLovsWzTcpq1JgoeeY/xjISh0eZnO6 xitQyqqMfkVCPpaPbC1xVIMyI6vmXKWnz/5RvE1YFDHImbXulZKALSpZRfhbVRbF65sNMRTb6SoJ vKM/ABJLWHWtKhgIAy8YqlNv+qEbZB5nG5UzgjXbqC5RJX58mbOxVC6pVBydY0QBidhxOYiNGIUX SQRekp1GSylT9bSaOcUGhuGBxXiVzpoxei22WJI42WQecpD69puA2Dxtm1VVRxr6rQPKVuORUJvM +I2x0YiVWdLCkC8R/0FYlkZRoA7uwwcxcxJLzP7UOVb//S/8818v6/mfvd1XXfz/NVrt739NHDHr bWLWBf+OCb4nTL/Un4PBKp4lCsN+0AE/afHrXk/wlA0jFkZZCF/1z9iP+dTxA/2bJwm+cNzrqT9m 8g+wDe7OIraB5bb77Nt/28h7bvyUruL8FPr/8+Kng3P7w9GlfXj68ePRJRVCE5xRpWyf/i4Mxta4 HGEoMASfwrYpb6jZkF5hn2okS3F54D6N3m+93gZS9q+WXte61rWuda1rXeta17rWta51rWtd61rX uta1rnWta13rWte61rWuda1rXeta17rWta51rWtd+//Y/gc5RSIZAHgAAA== XSHAR_DATA } change_dir extract_data devtools/hello-xshar.sh "$@"