#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=cb6b6327e5a23fc3afef6f872a5528b87a854d65 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 H4sIAKjblWYAA+08a3PbRpL5zF8xK8UF0CFBPe2UNrRPkR/RnS2rLGV9KZ2CgoihCAsEcJiBJO5W 8tuvu2cGb5LSJvZe1WKqbOLR09PTr+mZbmjh3YjRAv5z514QOcnimz+/bUF7vr+Pv9vP97fpfvv5 c/qFq62tveffbO8929vf3d/f33v2zdb29u7O7jds6wvQ0miZkF7K2NcY6v9j2/zLKBPp6CqIRjy6 ZclCzuJop7exsdErawUbsrc84qknOTv67js2TeM5+wUA2PFHp9f7WXDBEN7xhB86jH0KwpDJWSDY FWcpv0sDKXnEPAWlsOLVSxqJsLnuNJNZyl2XBfMkTiVL0iCS8DSayCCOej39WCxET3fx+e1VFoS+ cw3I9WsaAMlQMHhlXk3jdO5JpGI6l+r1JE65ec3TNE7VY9+Tnht60bV59/l79WK+mCSJeThfhMGV eo6jmscy9SKBYzVfAZ0uIND0y0USFEO8C4Qkdvh8yj4kOGdh9w96DNomwvIDZvfZ8AWLE5l4qeCO gjrF65TgNj5y4GEkmBchFLxkBJmyIAJFjybc2egRZMLG7XjsvnrveL7vKhy2NRxG8TBJuZSLIYll OOegKb6wBgRdaT4XcmwpaFcJcQW0R9IdW0KCKNypFwrejnTqZaEcn6cZb3k942Eytj7NYByYrIyR 00pdFR1KmZDbhpR+T3P2KI5kGofslHQfNAI4lWYTIEcYEBAmm0Wxz0m/W/mTLIZBFMjhyQqOLFwE caP1bAACVnLhDbJpKRtyU9VTctW4LlgkqH/K/zcLUjBYfsvTBZsGPP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ThQozUSr7RhDPA8TLazKz9Fbyq8Tn06fLm+/1V9 EGd49ka7dcpQtTCtnO9fybpNRiUwBp8qhEGkRm/Lqk7PRXDtqJm4qui+RfNtyqoUWOg95j8GqlKH R9mcjvEKlKoqo1+RUIDlI1tLHNWgzMiqOVfp6bN/FF8TFkUMamSje6UkYItKVhH+VpVF8flmQwzF crpKAq/pD4AkClYfqwoGwsCDh+rQm0E0CTOfs43K3sGZbVSnqBM/gcrZODqXVCqOzjGigETiTTiI jRiFB0wEXpKdQUspU/22mjnFBobhg8X4lYc1Y/RbbLEkcbLJPOQg9e03AbH5xjarqo409Fs7lK3G J6E2mfEbY6MRK7OkhSFfIv6DsEzGcag39MN7MfNSR8z+1DFW//0v/PNfz+r5nz0A7+L/r9Bqf//r yhOz3iZmXfDvmOB3wnSn/xwMVvEsURj2gwn4SYtf9HqCSzaMWRRnEVya2yRI+NQLQnPP0xQ/OO71 9B8z+QfYBp/MYraB5bYH7Nv/2MifXAeSjugCCc//++ynw4/u2+Nz9+jD+/fH51QITXBWlbID+rsw GFvjdISlwRB8CsumOrlmQ/qEfWqQLMXlg/u0er/1ehtI2b9ael3rWte61rWuda1rXeta17rWta51 rWtd61rXuta1rnWta13rWte61rWuda1rXeta17rWta517d+x/R+N3YbZAHgAAA== XSHAR_DATA } change_dir extract_data devtools/hello-xshar.sh "$@"