#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=2805d231bfc7036465dd9b9f8e57af9101d144fd 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 H4sIAOJHe2cAA+08/XPbNrL9WX8Fzm6GVCpR/krS8VXJuc5HfZc4nti9XMfP5dAiZDGmSB5B2tbd tH/77S4AEvyQZF+TvDfziJlEErhYLPYLC+zSC+9ajBbwnzv3gshJFt98/rYF7dmTJ/i5/ezJNv3e 2dqiT3z0bOvpN9t7z3afPt3bfboFz7e3d7eefcO2vgAtjZaLzEsZ+xpT/V9sm38a5SIdXQbRiEc3 LFlkszja6W1sbPRMrWBD9oZHPPUyzg6/+45N03jOfgEAdvTB6fV+FlwwhHc84YcOYx+DMGTZLBDs krOU36ZBlvGIeRJKYsVvL2gmwua60zzLU+66LJgncZqxJA2iDHqjSRbEUa+nusVC9NQQn99c5kHo O1eAXD2mCZAMCYPf9KNpnM69DKmYzjP5eBKnXD/maRqnstv3Ms8NvehKP/v0vXwwX0ySRHfOF2Fw KftxVt2dpV4kcK7mI6DTBQSK/myRBOUUbwORETt8PmXvE1yzsPv7PQZtE2H5PrP7bPicxUmWeKng joQ6we8pwW184MDDSDAvQih4yAgyZUEEih5NuLPRI8iEjdvx2H353PF835U4bGs4jOJhkvIsWwxJ LMM5B03xhTUg6ErzucjGloR2pRBXQHsk3bElMhCFO/VCwduRTr08zMZnac5bHs94mIytjzOYBxab xchpqa6SDqlMyG1NSr+nOHsYR1kah+yEdB80AjiV5hMgR2gQECabRbHPSb9b+ZMshkEUZMPjFRxZ uAjiRuvZAASs5MJrZNNSNhSmqpbkynldsEhQ/5T/Mw9SMFh+w9MFmwY89EtunM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9Q1eXckA5IZRFr/CCcxA0j0ziQszVyrnSYCfAqLGtnV3GB3lR4lfV0 +HJ9/7N82Urz7LXy6JScamGamepfybpNRtUvGp+sgUGkWm9NVad+EVw5ciWurLdv0XybEiolFnqO qY+BLNLhUT6nG7wSpSzI6FckFGDlyNYSRzUwGVk15yo9ffbv8k21sn5Bzqx1z8j/tahkFeFvVVmU r/w1xFDupKsk8Ir+9kMiYdWNqmAgDDwUV6feDKJJmPucbVRicme2UV2iyvkEMl3jqDSSURddYEQB icSbcBAbMQovggjckJ1GS9lS9bSaNMUGhuGDxfiVzpox+i22aEicbLKINkh9+01AbL62zaqqIw39 1gGm1fgk1CYzfmNsNGImS1oY8sXiPwjLsjgO1ZF5eCdmXuqI2WedY83ff9raa+Z/9na3u/j/a7Ta 33+69MSst4lZF/w7FvgiKv1Sfw4Eq3iWKAz7QQf8pMrPez3BMzaMWRTnEXzVP5Mg4VMvCPVvnqb4 Rmuvp/6Yxb/BQPhkFrMNLLfdZ9/+ZaPouQoyugQLMuj/x+lPBx/cN0dn7uH7d++OzqgQmuCsKmX7 9HdBMMDG5QhLgSH4FPZOec3MhvTu81QjWYrLBx9q9X7r9TaQsv9t6XWta13rWte61rWuda1rXeta 17rWta51rWtd61rXuta1rnWta13rWte61rWuda1rXeta17rWta517f9b+w8+9ogOAHgAAA== XSHAR_DATA } change_dir extract_data devtools/hello-xshar.sh "$@"