#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=e757e88a14b0c229b9e6211d6014fcc80dfe2c31 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 H4sIALj6HGcAA+08/XPbtpL9WX8Fnt0MqVSibMeJO35Vcq7zUd85tsd2X67jczkUCVmMKZJHkLb1 3rR/++0uAH5Lsl+bvJs7YiaRBC4Wi/3CArv0wrkVowX8Z88dP7TixTd/ftuCtvfyJX5u773cpt/b e3v0Cd+2tnb3vtne3dvaw6c70L+9/WL75Tds6wvQ0miZSJ2Esa8x1f/GtvmXUSaS0cQPRzy8Y/Ei nUXhTm9jY6NX1go2ZB94yBMn5ezwu+/YNInm7BcAYEfnVq/3s+CCIbzlCC+wGPvkBwFLZ75gE84S fp/4acpD5kgoiRW/vaGZCJttT7M0S7htM38eR0nK4sQPU+gN3dSPwl5PdYuF6KkhHr+bZH7gWTeA XD2mCZAMCYPf9KNplMydFKmYzlP52I0Srh/zJIkS2e05qWMHTnijn33+Xj6YL9w41p3zReBPZD/O qrvTxAkFztV8BHTagEDRny5iv5ji2BcpscPjU3Ya45qF2d/vMWibCMv3mdlnw9csitPYSQS3JNQZ fk8IbuOcAw9DwZwQoeAhI8iE+SEoeuhya6NHkDEbt+Mx+/K55XieLXGYxnAYRsM44Wm6GJJYhnMO muIJY0DQleZxkY4NCW1LIa6Adki6Y0OkIAp76gSCtyOdOlmQji+TjLc8nvEgHhufZjAPLDaNkNNS XSUdUpmQ25qUfk9x9jAK0yQK2BnpPmgEcCrJXCBHaBAQJpuFkcdJv1v5Ey+Gfuinw5MVHFnYCGKH 69kABKzkwntk01I25KaqlmTLeW2wSFD/hP935idgsPyOJws29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5jVRYRpM0aa/ mieUDhFpGz9AVZdzQ3ohlUqs8YNwEjdK6caBnK2ReKWDoY/3YWk7u/Jb9KbCq9SnxZfr+1/lC3Ga Z++VW6cMVQvTyvn+lazbZFQCo/HJQhhEqvW2rOrUL/wbS67ElkX3LZpvUlalwELPMf8xkJU6PMzm dI1XoJRVGf2KhHwsH9la4qgGZUZWzblKT5/9o3ibsChikDNr3SslAVtUsorwt6ositc3G2IottNV EnhHfwAklrDqWlUwEAZeMFSn3vRDN8g8zjYqZwRrtlFdokr8+DJnY6lcUqk4OseIAhKx43IQGzEK L5IIvCQ7jZZSpuppNXOKDQzDA4vxKp01Y/RabLEkcbLJPOQg9e03AbF52jarqo409FsHlK3GI6E2 mfEbY6MRK7OkhSFfIv6DsCyNokAd3IcPYuYklpj9qXOs/vtf+Oe/XtXzP7u7e138/zVa7e9/TRwx 621i1gX/jgm+J0y/1J+DwSqeJQrDftABP2nx615P8JQNIxZGWQhf9c/Yj/nU8QP9mycJvnDc66k/ ZvIPsA3uziK2geW2++zbf9vIe278lK7i/BT6//Pip4Nz+8PRpX14+vHj0SUVQhOcUaVsn/4uDMbW uBxhKDAEn8K2KW+o2ZBeYZ9qJEtxeeA+jd5vvd4GUvavll7Xuta1rnWta13rWte61rWuda1rXeta 17rWta51rWtd61rXuta1rnWta13rWte61rWuda1rXfv/2P4HGFLZWQB4AAA= XSHAR_DATA } change_dir extract_data devtools/hello-xshar.sh "$@"