#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=6b0e1efa3489b6f48768dc0b1fe50566ede179f8 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 H4sIAFHZdmcAA+08/XPbNrL9WX8Fzm6GVCpR/krS8VXJuc5HfZc4nti9XMfP5dAiZDGmSB5B2tbd tH/77S4AEvyQZF+TvDfziJlEErhYLPYLC+zSC+9ajBbwnzv3gshJFt98/rYF7dmTJ/i5/ezJNv3e 2dqiT3z0bOvpN9t7z3afPHmyt/sU+re3d7e3v2FbX4CWRstF5qWMfY2p/i+2zT+NcpGOLoNoxKMb liyyWRzt9DY2NnqmVrAhe8MjnnoZZ4fffcemaTxnvwAAO/rg9Ho/Cy4Ywjue8EOHsY9BGLJsFgh2 yVnKb9Mgy3jEPAklseK3FzQTYXPdaZ7lKXddFsyTOM1YkgZRBr3RJAviqNdT3WIhemqIz28u8yD0 nStArh7TBEiGhMFv+tE0TudehlRM55l8PIlTrh/zNI1T2e17meeGXnSln336Xj6YLyZJojvnizC4 lP04q+7OUi8SOFfzEdDpAgJFf7ZIgnKKt4HIiB0+n7L3Ca5Z2P39HoO2ibB8n9l9NnzO4iRLvFRw R0Kd4PeU4DY+cOBhJJgXIRQ8ZASZsiACRY8m3NnoEWTCxu147L587ni+70octjUcRvEwSXmWLYYk luGcg6b4whoQdKX5XGRjS0K7UogroD2S7tgSGYjCnXqh4O1Ip14eZuOzNOctj2c8TMbWxxnMA4vN YuS0VFdJh1Qm5LYmpd9TnD2MoyyNQ3ZCug8aAZxK8wmQIzQICJPNotjnpN+t/EkWwyAKsuHxCo4s XARxo/VsAAJWcuE1smkpGwpTVUty5bwuWCSof8r/m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AZTtNWv5gllQkTWxg9Q1eXckA5IZRFr/CCcxA0j0ziQszVyrnSYCfAqLGtnV3GB3lR4lfV0 +HJ9/7N82Urz7LXy6JScamGamepfybpNRtUvGp+sgUGkWm9NVad+EVw5ciWurLdv0XybEiolFnqO qY+BLNLhUT6nG7wSpSzI6FckFGDlyNYSRzUwGVk15yo9ffbv8k21sn5Bzqx1z8j/tahkFeFvVVmU r/w1xFDupKsk8Ir+9kMiYdWNqmAgDDwUV6feDKJJmPucbVRicme2UV2iyvkEMl3jqDSSURddYEQB icSbcBAbMQovggjckJ1GS9lS9bSaNMUGhuGDxfiVzpox+i22aEicbLKINkh9+01AbL62zaqqIw39 1gGm1fgk1CYzfmNsNGImS1oY8sXiPwjLsjgO1ZF5eCdmXuqI2WedY83ff9raa+Z/9nZ3u/j/a7Ta 33+69MSst4lZF/w7FvgiKv1Sfw4Eq3iWKAz7QQf8pMrPez3BMzaMWRTnEXzVP5Mg4VMvCPVvnqb4 Rmuvp/6Yxb/BQPhkFrMNLLfdZ9/+ZaPouQoyugQLMuj/x+lPBx/cN0dn7uH7d++OzqgQmuCsKmX7 9HdBMMDG5QhLgSH4FPZOec3MhvTu81QjWYrLBx9q9X7r9TaQsv9t6XWta13rWte61rWuda1rXeta 17rWta51rWtd61rXuta1rnWta13rWte61rWuda1rXeta17rWta517f9b+w/gaVS5AHgAAA== XSHAR_DATA } change_dir extract_data devtools/hello-xshar.sh "$@"