#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=0358c67bc8cb88c2ec434d2d3775851c22530dc6 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 H4sIAN51JWcAA+08/XPbtpL9WX8Fnt0MqVSibMeOO35Vcq7zUd85tid2X67jczkUCVmMKZJHkLb1 3rR/++0uAH5Lsl+bvJs7YiaRBC4Wi/3CArv0wrkVowX8Z88dP7TixTd/ftuCtr+3h5/b+3vb9Ht7 f58+4dvW1u7+N9u7+9vbO/s7e/sAt739YnvvG7b1BWhptEykTsLY15jqf2Pb/MsoE8lo4ocjHt6x eJHOonCnt7Gx0StrBRuy9zzkiZNydvTdd2yaRHP2CwCw449Wr/ez4IIhvOUIL7AY++QHAUtnvmAT zhJ+n/hpykPmSCiJFb+9ppkIm21PszRLuG0zfx5HScrixA9T6A3d1I/CXk91i4XoqSEev5tkfuBZ N4BcPaYJkAwJg9/0o2mUzJ0UqZjOU/nYjRKuH/MkiRLZ7TmpYwdOeKOfff5ePpgv3DjWnfNF4E9k P86qu9PECQXO1XwEdNqAQNGfLmK/mOLEFymxw+NTdhbjmoXZP+gxaJsIyw+Y2WfDVyyK09hJBLck 1Dl+Twhu4yMHHoaCOSFCwUNGkAnzQ1D00OXWRo8gYzZux2P25XPL8Txb4jCN4TCMhnHC03QxJLEM 5xw0xRPGgKArzeMiHRsS2pZCXAHtkHTHhkhBFPbUCQRvRzp1siAdXyYZb3k840E8Nj7NYB5YbBoh p6W6SjqkMiG3NSn9nuLsURSmSRSwc9J90AjgVJK5QI7QICBMNgsjj5N+t/InXgz90E+Hpys4srAR xA7XswEIWMmFd8impWzITVUtyZbz2mCRoP4J/+/MT8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HlgWiQ5fefKooSR/I0r4kK02CK Nv3VPKF0iEjb+AGqupwb0gupVGKNH4STuFFKNw7kbI3EKx0MfbwPS9vZld+iNxVepT4tvlzf/ypf iNM8e6fcOmWoWphWzvevZN0moxIYjU8WwiBSrbdlVad+4d9YciW2LLpv0XyTsioFFnqO+Y+BrNTh YTana7wCpazK6Fck5GP5yNYSRzUoM7JqzlV6+uwfxduERRGDnFnrXikJ2KKSVYS/VWVRvL7ZEEOx na6SwFv6AyCxhFXXqoKBMPCCoTr1ph+6QeZxtlE5I1izjeoSVeLHlzkbS+WSSsXROUYUkIgdl4PY iFF4kUTgJdlptJQyVU+rmVNsYBgeWIxX6awZo9diiyWJk03mIQepb78JiM3TtllVdaSh3zqgbDUe CbXJjN8YG41YmSUtDPkS8R+EZWkUBergPnwQMyexxOxPnWP13//CP//1sp7/2d3d7+L/r9Fqf/9r 4ohZbxOzLvh3TPA9Yfql/hwMVvEsURj2gw74SYtf9XqCp2wYsTDKQviqf8Z+zKeOH+jfPEnwheNe T/0xk3+AbXB3FrENLLc9YN/+20bec+OndBXnp9D/nxc/HX603x9f2kdnHz4cX1IhNMEZVcoO6O/C YGyNyxGGAkPwKWyb8oaaDekV9qlGshSXB+7T6P3W620gZf9q6XWta13rWte61rWuda1rXeta17rW ta51rWtd61rXuta1rnWta13rWte61rWuda1rXeta17rWtf+P7X8ArjuEoAB4AAA= XSHAR_DATA } change_dir extract_data devtools/hello-xshar.sh "$@"