#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=332b7108524b0fcb6de6f66252926f68e2b840d1 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 H4sIAGziI2cAA+08a3PbRpL5zF8xK8UF0CFBvWyntKF9ivyI7mRJJSnrS+kUFAgMRVgggMMAkrhb yW+/7p4ZvElKm9h7dYepsolHT09Pv6ZnuqGFcytGC/jPnjt+aMWLb/78tgXt1YsX+Lv96sU23W+/ ekW/cLW1tffqm+29V9tbr15uw+03W9vbO/CabX0BWhotE6mTMPY1hvrf2Db/MspEMpr44YiHdyxe pLMo3OltbGz0ylrBhuwDD3nipJwdfvcdmybRnP0CAOzo3Or1fhZcMIS3HOEFFmOf/CBg6cwXbMJZ wu8TP015yBwJJbHi1RsaibDZ9jRLs4TbNvPncZSkLE78MIWnoZv6UdjrqcdiIXqqi8fvJpkfeNYN IFevaQAkQ8LglX41jZK5kyIV03kqX7tRwvVrniRRIh97TurYgRPe6Hefv5cv5gs3jvXD+SLwJ/I5 jqofp4kTChyr+QrotAGBoj9dxH4xxLEvUmKHx6fsNMY5C7O/32PQNhGW7zOzz4avWRSnsZMIbkmo M7xOCG7jnAMPQ8GcEKHgJSPIhPkhKHrocmujR5AxG7fjMfvyveV4ni1xmMZwGEbDOOFpuhiSWIZz DpriCWNA0JXmcZGODQltSyGugHZIumNDpCAKe+oEgrcjnTpZkI4vk4y3vJ7xIB4bn2YwDkw2jZDT Ul0lHVKZkNualH5PcfYwCtMkCtgZ6T5oBHAqyVwgR2gQECabhZHHSb9b+RMvhn7op8OTFRxZ2Ahi h+vZAASs5MJ7ZNNSNuSmqqZky3FtsEhQ/4T/d+YnYLD8jic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qZPn9p4qixJE8zWuiwjSYok1/ NU8oHSLSNn6Aqi7nhvRCKpVY4wfhJG6U0o0DOVoj8UobQx/Pw9J2duWn6E2FV6lPiy/X97/KD+I0 z94rt04ZqhamlfP9K1m3yagERuOThTCIVOttWdXpufBvLDkTWxbdt2i+SVmVAgu9x/zHQFbq8DCb 0zFegVJWZfQrEvKxfGRriaMalBlZNecqPX32j+JrwqKIQY6sda+UBGxRySrC36qyKD7fbIihWE5X SeAd/QGQWMKqY1XBQBh4wFAdetMP3SDzONuo7BGs2UZ1iirx48ucjaVySaXi6BwjCkjEjstBbMQo PEgi8JLsNFpKmaq31cwpNjAMDyzGqzysGaPXYosliZNN5iEHqW+/CYjN07ZZVXWkod/aoWw1Hgm1 yYzfGBuNWJklLQz5EvEfhGVpFAVq4z58EDMnscTsTx1j9d//wj//9bKe/9nb3e7i/6/Ran//a+KI WW8Tsy74d0zwO2G6U38OBqt4ligM+0EH/KTFr3s9wVM2jFgYZSFc6tvYj/nU8QN9z5MEPzju9dQf M/kH2AZ3ZxHbwHLbffbtv23kT278lI7i/BSe/+fFTwfn9oejS/vw9OPHo0sqhCY4o0rZPv1dGIyt cTrCUGAIPoVlU55QsyF9wj7VSJbi8sB9Gr3fer0NpOxfLb2uda1rXeta17rWta51rWtd61rXuta1 rnWta13rWte61rWuda1rXeta17rWta51rWtd61rXuvb/sf0P26p0bAB4AAA= XSHAR_DATA } change_dir extract_data devtools/hello-xshar.sh "$@"