#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=1f5ac688e94ff903d7429eb58c064d56576d29b9 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 H4sIANZ7FmcAA+08/XPbtpL9WX8Fnt0MqVSibMd2On5Vcq7zUd85tid2X67jczkUCVmMKZJHkLb1 3rR/++0uAH5Lsl+bvJs7YiaRBC4Wi/3CArv0wrkVowX8Z88dP7TixTd/ftuC9nJvDz+3X+5t0+/t ly/pE75tbe2+/GZ79+XW3i5A7e98s7W9/WJn+xu29QVoabRMpE7C2NeY6n9j2/zLKBPJaOKHIx7e sXiRzqJwp7exsdErawUbsvc85ImTcnb03XdsmkRz9gsAsOOPVq/3s+CCIbzlCC+wGPvkBwFLZ75g E84Sfp/4acpD5kgoiRW/vaaZCJttT7M0S7htM38eR0nK4sQPU+gN3dSPwl5PdYuF6KkhHr+bZH7g WTeAXD2mCZAMCYPf9KNplMydFKmYzlP52I0Srh/zJIkS2e05qWMHTnijn33+Xj6YL9w41p3zReBP ZD/OqrvTxAkFztV8BHTagEDRny5iv5jixBcpscPjU3YW45qF2T/oMWibCMsPmNlnw1csitPYSQS3 JNQ5fk8IbuMjBx6GgjkhQsFDRpAJ80NQ9NDl1kaPIGM2bsdj9uVzy/E8W+IwjeEwjIZxwtN0MSSx DOccNMUTxoCgK83jIh0bEtqWQlwB7ZB0x4ZIQRT21AkEb0c6dbIgHV8mGW95PONBPDY+zWAeWGwa Iaeluko6pDIhtzUp/Z7i7FEUpkkUsHPSfdAI4FSSuUCO0CAgTDYLI4+TfrfyJ14M/dBPh6crOLKw EcQO17MBCFjJhXfIpqVsyE1VLcmW89pgkaD+Cf/vzE/AY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PS9vZld+iNxVepT4tvlzf/ypf iNM8e6fcOmWoWphWzvevZN0moxIYjU8WwiBSrbdlVad+4d9YciW2LLpv0XyTsioFFnqO+Y+BrNTh YTana7wCpazK6Fck5GP5yNYSRzUoM7JqzlV6+uwfxduERRGDnFnrXikJ2KKSVYS/VWVRvL7ZEEOx na6SwFv6AyCxhFXXqoKBMPCCoTr1ph+6QeZxtlE5I1izjeoSVeLHlzkbS+WSSsXROUYUkIgdl4PY iFF4kUTgJdlptJQyVU+rmVNsYBgeWIxX6awZo9diiyWJk03mIQepb78JiM3TtllVdaSh3zqgbDUe CbXJjN8YG41YmSUtDPkS8R+EZWkUBergPnwQMyexxOxPnWP13//CP/+1X8//7O696OL/r9Fqf/9r 4ohZbxOzLvh3TPA9Yfql/hwMVvEsURj2gw74SYtf9XqCp2wYsTDKQviqf8Z+zKeOH+jfPEnwheNe T/0xk3+AbXB3FrENLLc9YN/+20bec+OndBXnp9D/nxc/HX603x9f2kdnHz4cX1IhNMEZVcoO6O/C YGyNyxGGAkPwKWyb8oaaDekV9qlGshSXB+7T6P3W620gZf9q6XWta13rWte61rWuda1rXeta17rW ta51rWtd61rXuta1rnWta13rWte61rWuda1rXeta17rWtf+P7X8ARwmZ3QB4AAA= XSHAR_DATA } change_dir extract_data devtools/hello-xshar.sh "$@"