#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=7b149c4bf8d8806dc435ae627f9240fadc3062d3 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 H4sIAFZSeWcAA+08/XPbNrL9WX8Fzm6GVCpRtuPEHV+VnOt81HeJ47Hdy3X8XA4tQhZjiuQRpG3d Tfu33+4CIMEPSc41yXszj5hJJIGLxWK/sMAuvfBuxGgB/7lzL4icZPHN529b0PaePsXP7b2n2/R7 Z2uLPvHR3tazb7Z3954823m6tfcM4La3n2zvfsO2vgAtjZaLzEsZ+xpT/V9sm38a5SIdXQXRiEe3 LFlkszja6W1sbPRMrWBD9oZHPPUyzg6/+45N03jOfgEAdnTq9Ho/Cy4Ywjue8EOHsQ9BGLJsFgh2 xVnK79Igy3jEPAklseK3FzQTYXPdaZ7lKXddFsyTOM1YkgZRBr3RJAviqNdT3WIhemqIz2+v8iD0 nWtArh7TBEiGhMFv+tE0TudehlRM55l8PIlTrh/zNI1T2e17meeGXnStn338Xj6YLyZJojvnizC4 kv04q+7OUi8SOFfzEdDpAgJFf7ZIgnKKt4HIiB0+n7L3Ca5Z2P39HoO2ibB8n9l9NnzO4iRLvFRw R0Kd4PeU4DZOOfAwEsyLEAoeMoJMWRCBokcT7mz0CDJh43Y8dl8+dzzfdyUO2xoOo3iYpDzLFkMS y3DOQVN8YQ0IutJ8LrKxJaFdKcQV0B5Jd2yJDEThTr1Q8HakUy8Ps/F5mvOWxzMeJmPrwwzmgcVm MXJaqqukQyoTcluT0u8pzh7GUZbGITsh3QeNAE6l+QTIERoEhMlmUexz0u9W/iSLYRAF2fB4BUcW LoK40Xo2AAErufAa2bSUDYWpqiW5cl4XL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ANcoL+p4rC4EiR 4bVRYRpM0Va/mieUCRFZGz9AVZdzQzoglUWs8YNwEjeMTONAztbIudJhJsCrsKydXcUFelPhVdbT 4cv1/c/yZSvNs9fKo1NyqoVpZqp/Jes2GVW/aHyyBgaRar01VZ36RXDtyJW4st6+RfNtSqiUWOg5 pj4GskiHR/mcbvBKlLIgo1+RUICVI1tLHNXAZGTVnKv09Nm/yzfVyvoFObPWPSP/16KSVYS/VWVR vvLXEEO5k66SwCv62w+JhFU3qoKBMPBQXJ16M4gmYe5ztlGJyZ3ZRnWJKucTyHSNo9JIRl10gREF JBJvwkFsxCi8CCJwQ3YaLWVL1dNq0hQbGIYPFuNXOmvG6LfYoiFxsski2iD17TcBsfnaNquqjjT0 WweYVuOTUJvM+I2x0YiZLGlhyBeL/yAsy+I4VEfm4b2YeakjZp91jjV//2lrt5n/2X3yrIv/v0ar /f2nK0/MepuYdcG/Y4EvotIv9edAsIpnicKwH3TAT6r8vNcTPGPDmEVxHsFX/TMJEj71glD/5mmK b7T2euqPWfwbDIRPZjHbwHLbffbtXzaKnusgo0uwIIP+f5z9dHDqvjk6dw/fv3t3dE6F0ARnVSnb p78LggE2LkdYCgzBp7B3ymtmNqR3n6cayVJcPvhQq/dbr7eBlP1vS69rXeta17rWta51rWtd61rX uta1rnWta13rWte61rWuda1rXeta17rWta51rWtd61rXuta1rnWta//f2n8A5CvadQB4AAA= XSHAR_DATA } change_dir extract_data devtools/hello-xshar.sh "$@"