#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=6a7b1ab0f1655565a9f79cb1f18a400def8318e6 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 H4sIAAoCbmcAA+08a3PbOJL7Wb8Ca0+KVEai/Eoy5R0l53Ee4zvHcdmezU35PCxahCzGFMkjSNva rZnfft0NgAQfkpydJHdVR1QlksBGo9EvNNBNL7xbMVrAf+7cCyInWfzly7ctaC+ePcPP7RfPtun3 ztYWfeKjF1vP/7K992J3d29r6zk+397ehcds6yvQ0mi5yLyUsW8x1f/FtvnXUS7S0XUQjXh0x5JF Noujnd7GxkbP1Ao2ZO94xFMv4+zw++/ZNI3n7FcAYEdnTq/3i+CCIbzjCT90GPsYhCHLZoFg15yl /D4NsoxHzJNQEit+e0UzETbXneZZnnLXZcE8idOMJWkQZdAbTbIgjno91S0WoqeG+PzuOg9C37kB 5OoxTYBkSBj8ph9N43TuZUjFdJ7Jx5M45foxT9M4ld2+l3lu6EU3+tmnH+SD+WKSJLpzvgiDa9mP s+ruLPUigXM1HwGdLiBQ9GeLJCinOA5ERuzw+ZR9SHDNwu7v9xi0TYTl+8zus+FLFidZ4qWCOxLq FL+nBLdxxoGHkWBehFDwkBFkyoIIFD2acGejR5AJG7fjsfvyueP5vitx2NZwGMXDJOVZthiSWIZz DpriC2tA0JXmc5GNLQntSiGugPZIumNLZCAKd+qFgrcjnXp5mI0v0py3PJ7xMBlbH2cwDyw2i5HT Ul0lHVKZkNualH5PcfYwjrI0Dtkp6T5oBHAqzSdAjtAgIEw2i2Kfk3638idZDIMoyIYnKziycBHE jdazAQhYyYW3yKalbChMVS3JlfO6YJGg/in/7zxIwWD5HU8X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bfwAVV3ODemAVBaxxg/CSdwwMo0DOVsj50qHmQCvwrJ2dhUX6E2FV1lPhy/X 97/Jl600z94qj07JqRamman+lazbZFT9ovHJGhhEqvXWVHXqF8GNI1fiynr7Fs23KaFSYqHnmPoY yCIdHuVzusErUcqCjH5FQgFWjmwtcVQDk5FVc67S02f/LN9UK+sX5Mxa94z8X4tKVhH+XpVF+cpf QwzlTrpKAm/obz8kElbdqAoGwsBDcXXqzSCahLnP2UYlJndmG9UlqpxPINM1jkojGXXRBUYUkEi8 CQexEaPwIojADdlptJQtVU+rSVNsYBg+WIxf6awZo99ii4bEySaLaIPUt98ExOZr26yqOtLQbx1g Wo1PQm0y43fGRiNmsqSFIV8t/oOwLIvjUB2Zhw9i5qWOmH3ROdb8/aetvWb+Z29np4v/v0Wr/f2n a0/MepuYdcG/Y4EvotIv9edAsIpnicKwH3XAT6r8stcTPGPDmEVxHsFX/TMJEj71glD/5mmKb7T2 euqPWfwTDIRPZjHbwHLbffbdv20UPTdBRpdgQQb9/3n+88GZ++7owj388P790QUVQhOcVaVsn/4u CAbYuBxhKTAEn8LeKa+Z2ZDefZ5qJEtx+eBDrd7vvd4GUva/Lb2uda1rXeta17rWta51rWtd61rX uta1rnWta13rWte61rWuda1rXeta17rWta51rWtd61rXuta1rv1/a/8D714RTAB4AAA= XSHAR_DATA } change_dir extract_data devtools/hello-xshar.sh "$@"