#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=fb9faf15e4945665f719114b3d40396aa118af20 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 H4sIALx4GWcAA+08a3PbRpL5zF8xK8UF0CFBvWyntKF9ivyI7mRJJSnrS+kUFAgMRVgggMMAkrhb yW+/7p4ZvElKm9h7dYepskkOenp6+jU90w0tnFsxWsB/9tzxQytefPPnty1or168wM/tVy+26ff2 q1f0Cd+2tvZefbO992rr5c6rve3d3W+2trd3t7e/YVtfgJZGy0TqJIx9jan+N7bNv4wykYwmfjji 4R2LF+ksCnd6GxsbvbJWsCH7wEOeOClnh999x6ZJNGe/AAA7Ord6vZ8FFwzhLUd4gcXYJz8IWDrz BZtwlvD7xE9THjJHQkms+O0NzUTYbHuapVnCbZv58zhKUhYnfphCb+imfhT2eqpbLERPDfH43STz A8+6AeTqMU2AZEgY/KYfTaNk7qRIxXSeysdulHD9mCdJlMhuz0kdO3DCG/3s8/fywXzhxrHunC8C fyL7cVbdnSZOKHCu5iOg0wYEiv50EfvFFMe+SIkdHp+y0xjXLMz+fo9B20RYvs/MPhu+ZlGcxk4i uCWhzvB7QnAb5xx4GArmhAgFDxlBJswPQdFDl1sbPYKM2bgdj9mXzy3H82yJwzSGwzAaxglP08WQ xDKcc9AUTxgDgq40j4t0bEhoWwpxBbRD0h0bIgVR2FMnELwd6dTJgnR8mWS85fGMB/HY+DSDeWCx aYScluoq6ZDKhNzWpPR7irOHUZgmUcDOSPdBI4BTSeYCOUKDgDDZLIw8Tvrdyp94MfRDPx2erODI wkYQO1zPBiBgJRfeI5uWsiE3VbUkW85rg0WC+if8vzM/AYPldzxZsKnPA6/gx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EjdK6caBnK2ReKWDoY/3YWk7u/Jb9KbCq9SnxZfr+1/l C3GaZ++VW6cMVQvTyvn+lazbZFQCo/HJQhhEqvW2rOrUL/wbS67ElkX3LZpvUlalwELPMf8xkJU6 PMzmdI1XoJRVGf2KhHwsH9la4qgGZUZWzblKT5/9o3ibsChikDNr3SslAVtUsorwt6ositc3G2Io ttNVEnhHfwAklrDqWlUwEAZeMFSn3vRDN8g8zjYqZwRrtlFdokr8+DJnY6lcUqk4OseIAhKx43IQ GzEKL5IIvCQ7jZZSpuppNXOKDQzDA4vxKp01Y/RabLEkcbLJPOQg9e03AbF52jarqo409FsHlK3G I6E2mfEbY6MRK7OkhSFfIv6DsCyNokAd3IcPYuYklpj9qXOs/vtf+Oe/XtbzP3t7u138/zVa7e9/ TRwx621i1gX/jgm+J0y/1J+DwSqeJQrDftABP2nx615P8JQNIxZGWQhf9c/Yj/nU8QP9mycJvnDc 66k/ZvIPsA3uziK2geW2++zbf9vIe278lK7i/BT6//Pip4Nz+8PRpX14+vHj0SUVQhOcUaVsn/4u DMbWuBxhKDAEn8K2KW+o2ZBeYZ9qJEtxeeA+jd5vvd4GUvavll7Xuta1rnWta13rWte61rWuda1r Xeta17rWta51rWtd61rXuta1rnWta13rWte61rWuda1rXfv/2P4H8oixJQB4AAA= XSHAR_DATA } change_dir extract_data devtools/hello-xshar.sh "$@"