#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=54ab2a770da5baa5c03c1dd9ec6d33704a524a24 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 H4sIAIVPPWcAA+08a3PbRpL5zF8xK8UF0CFBSZatlDa0T5Ef0Z0sqSRlfSmdggKBoQgLBHAYQBJ3 K/nt190zgzdJaRN77+owVTbx6Onp6df0TDe0cG7FaAH/2XPHD6148c2f37ag7b18ib/bey+36X57 b49+4Wpra3fvm+3dve29nd293d2db7a2t19sv/qGbX0BWhotE6mTMPY1hvrf2Db/MspEMpr44YiH dyxepLMo3OltbGz0ylrBhuwDD3nipJwdfvcdmybRnP0CAOzo3Or1fhZcMIS3HOEFFmOf/CBg6cwX bMJZwu8TP015yBwJJbHi1RsaibDZ9jRLs4TbNvPncZSkLE78MIWnoZv6UdjrqcdiIXqqi8fvJpkf eNYNIFevaQAkQ8LglX41jZK5kyIV03kqX7tRwvVrniRRIh97TurYgRPe6Hefv5cv5gs3jvXD+SLw J/I5jqofp4kTChyr+QrotAGBoj9dxH4xxLEvUmKHx6fsNMY5C7O/32PQNhGW7zOzz4avWRSnsZMI bkmoM7xOCG7jnAMPQ8GcEKHgJSPIhPkhKHrocmujR5AxG7fjMfvyveV4ni1xmMZwGEbDOOFpuhiS WIZzDpriCWNA0JXmcZGODQltSyGugHZIumNDpCAKe+oEgrcjnTpZkI4vk4y3vJ7xIB4bn2YwDkw2 jZDTUl0lHVKZkNualH5PcfYwCtMkCtgZ6T5oBHAqyVwgR2gQECabhZHHSb9b+RMvhn7op8OTFRxZ 2Ahih+vZAASs5MJ7ZNNSNuSmqqZky3FtsEhQ/4T/d+YnYLD8jicLN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WEaTNGmv5onlA4RaRs/QFWXc0N6IZVKrPGDcBI3SunGgRytkXilHaCP52FpO7vyU/SmwqvU p8WX6/tf5QdxmmfvlVunDFUL08r5/pWs22RUAqPxyUIYRKr1tqzq9Fz4N5aciS2L7ls036SsSoGF 3mP+YyArdXiYzekYr0ApqzL6FQn5WD6ytcRRDcqMrJpzlZ4++0fxNWFRxCBH1rpXSgK2qGQV4W9V WRSfbzbEUCynqyTwjv4ASCxh1bGqYCAMPEmoDr3ph26QeZxtVDYD1myjOkWV+PFlzsZSuaRScXSO EQUkYsflIDZiFJ4YEXhJdhotpUzV22rmFBsYhgcW41Ue1ozRa7HFksTJJvOQg9S33wTE5mnbrKo6 0tBv7VC2Go+E2mTGb4yNRqzMkhaGfIn4D8KyNIoCtUMfPoiZk1hi9qeOsfrvf+Gf/3pVz//svtzq 4v+v0Wp//2viiFlvE7Mu+HdM8DthulN/DgareJYoDPtBB/ykxa97PcFTNoxYGGUhXOrb2I/51PED fc+TBD847vXUHzP5B9gGd2cR28By23327b9t5E9u/JTO3PwUnv/nxU8H5/aHo0v78PTjx6NLKoQm OKNK2T79XRiMrXE6wlBgCD6FZVMeRbMhfcI+1UiW4vLAfRq933q9DaTsXy29rnWta13rWte61rWu da1rXeta17rWta51rWtd61rXuta1rnWta13rWte61rWuda1rXeta17r2/7H9D325TSkAeAAA XSHAR_DATA } change_dir extract_data devtools/hello-xshar.sh "$@"