#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=6f16efdf2c8154274aaa19602e9dc2b2258ebd7a 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 H4sIAJ7AH2cAA+08/XPbtpL9WX8Fnt0MqVSibMeJO35Vcq7zUd85tsd2X67jczkUCVmMKZJHkLb1 3rR/++0uAH5Lsl+bvJs7YiaRBC4Wi/3CArv0wrkVowX8Z88dP7TixTd/ftuCtvfyJX5u773cpt/b e3v0Cd+2tnb3vtne3dva29sFQHi+vf1ie/sbtvUFaGm0TKROwtjXmOp/Y9v8yygTyWjihyMe3rF4 kc6icKe3sbHRK2sFG7IPPOSJk3J2+N13bJpEc/YLALCjc6vX+1lwwRDecoQXWIx98oOApTNfsAln Cb9P/DTlIXMklMSK397QTITNtqdZmiXctpk/j6MkZXHihyn0hm7qR2Gvp7rFQvTUEI/fTTI/8Kwb QK4e0wRIhoTBb/rRNErmTopUTOepfOxGCdePeZJEiez2nNSxAye80c8+fy8fzBduHOvO+SLwJ7If Z9XdaeKEAudqPgI6bUCg6E8XsV9MceyLlNjh8Sk7jXHNwuzv9xi0TYTl+8zss+FrFsVp7CSCWxLq DL8nBLdxzoGHoWBOiFDwkBFkwvwQFD10ubXRI8iYjdvxmH353HI8z5Y4TGM4DKNhnPA0XQxJLMM5 B03xhDEg6ErzuEjHhoS2pRBXQDsk3bEhUhCFPXUCwduRTp0sSMeXScZbHs94EI+NTzOYBxabRshp qa6SDqlMyG1NSr+nOHsYhWkSBeyMdB80AjiVZC6QIzQICJPNwsjjpN+t/IkXQz/00+HJCo4sbASx w/VsAAJWcuE9smkpG3JTVUuy5bw2WCSof8L/O/MTMFh+x5MF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qs8YNwEjdK6caBnK2ReKWDoY/3YWk7u/Jb9KbCq9SnxZfr+1/lC3Ga Z++VW6cMVQvTyvn+lazbZFQCo/HJQhhEqvW2rOrUL/wbS67ElkX3LZpvUlalwELPMf8xkJU6PMzm dI1XoJRVGf2KhHwsH9la4qgGZUZWzblKT5/9o3ibsChikDNr3SslAVtUsorwt6ositc3G2IottNV EnhHfwAklrDqWlUwEAZeMFSn3vRDN8g8zjYqZwRrtlFdokr8+DJnY6lcUqk4OseIAhKx43IQGzEK L5IIvCQ7jZZSpuppNXOKDQzDA4vxKp01Y/RabLEkcbLJPOQg9e03AbF52jarqo409FsHlK3GI6E2 mfEbY6MRK7OkhSFfIv6DsCyNokAd3IcPYuYklpj9qXOs/vtf+Oe/XtXzP7u7L7r4/2u02t//mjhi 1tvErAv+HRN8T5h+qT8Hg1U8SxSG/aADftLi172e4CkbRiyMshC+6p+xH/Op4wf6N08SfOG411N/ zOQfYBvcnUVsA8tt99m3/7aR99z4KV3F+Sn0/+fFTwfn9oejS/vw9OPHo0sqhCY4o0rZPv1dGIyt cTnCUGAIPoVtU95QsyG9wj7VSJbi8sB9Gr3fer0NpOxfLb2uda1rXeta17rWta51rWtd61rXuta1 rnWta13rWte61rWuda1rXeta17rWta51rWtd61rXuvb/sf0PBF/i1AB4AAA= XSHAR_DATA } change_dir extract_data devtools/hello-xshar.sh "$@"