#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=e721ceb99685e22eb6f97986242373c4f5f3ac4f 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 H4sIANaJGWcAA+08/XPbtpL9WX8Fnt0MqVSibMdOOn5Vcq7zUd85tsd2X67jczkUCVmMKZJHkLb1 3rR/++0uAH5Lsl+bvJs7YiaRBC4Wi/3CArv0wrkVowX8Z88dP7TixTd/ftuC9mpvDz+3X+1t0+/t V6/oE75tbe2++mZ799XWyxdbu3svX3yztb39YnvnG7b1BWhptEykTsLY15jqf2Pb/MsoE8lo4ocj Ht6xeJHOonCnt7Gx0StrBRuyDzzkiZNydvjdd2yaRHP2CwCwo3Or1/tZcMEQ3nKEF1iMffKDgKUz X7AJZwm/T/w05SFzJJTEit/e0EyEzbanWZol3LaZP4+jJGVx4ocp9IZu6kdhr6e6xUL01BCP300y P/CsG0CuHtMESIaEwW/60TRK5k6KVEznqXzsRgnXj3mSRIns9pzUsQMnvNHPPn8vH8wXbhzrzvki 8CeyH2fV3WnihALnaj4COm1AoOhPF7FfTHHsi5TY4fEpO41xzcLs7/cYtE2E5fvM7LPhaxbFaewk glsS6gy/JwS3cc6Bh6FgTohQ8JARZML8EBQ9dLm10SPImI3b8Zh9+dxyPM+WOExjOAyjYZzwNF0M SSzDOQdN8YQxIOhK87hIx4aEtqUQV0A7JN2xIVIQhT11AsHbkU6dLEjHl0nGWx7PeBCPjU8zmAcW m0bIaamukg6pTMhtTUq/pzh7GIVpEgXsjHQfNAI4lWQukCM0CAiTzcLI46TfrfyJF0M/9NPhyQqO LGwEscP1bAACVnLhPbJpKRtyU1VLsuW8NlgkqH/C/zvzEzBYfse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CWO5GleExWm wRRt+qt5QukQkbbxA1R1OTekF1KpxBo/CCdxo5RuHMjZGolXOhj6eB+WtrMrv0VvKrxKfVp8ub7/ Vb4Qp3n2Xrl1ylC1MK2c71/Juk1GJTAanyyEQaRab8uqTv3Cv7HkSmxZdN+i+SZlVQos9BzzHwNZ qcPDbE7XeAVKWZXRr0jIx/KRrSWOalBmZNWcq/T02T+KtwmLIgY5s9a9UhKwRSWrCH+ryqJ4fbMh hmI7XSWBd/QHQGIJq65VBQNh4AVDdepNP3SDzONso3JGsGYb1SWqxI8vczaWyiWViqNzjCggETsu B7ERo/AiicBLstNoKWWqnlYzp9jAMDywGK/SWTNGr8UWSxInm8xDDlLffhMQm6dts6rqSEO/dUDZ ajwSapMZvzE2GrEyS1oY8iXiPwjL0igK1MF9+CBmTmKJ2Z86x+q//4V//utlPf+zC8eFLv7/Cq32 978mjpj1NjHrgn/HBN8Tpl/qz8FgFc8ShWE/6ICftPh1ryd4yoYRC6MshK/6Z+zHfOr4gf7NkwRf OO711B8z+QfYBndnEdvActt99u2/beQ9N35KV3F+Cv3/efHTwbn94ejSPjz9+PHokgqhCc6oUrZP fxcGY2tcjjAUGIJPYduUN9RsSK+wTzWSpbg8cJ9G77debwMp+1dLr2td61rXuta1rnWta13rWte6 1rWuda1rXeta17rWta51rWtd61rXuta1rnWta13rWte61rWu/X9s/wMhdw0pAHgAAA== XSHAR_DATA } change_dir extract_data devtools/hello-xshar.sh "$@"