#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=e6e0c65a6407018d6e2a9d668fd08ca4edf4f9bd 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 H4sIAIV+gWcAA+08a3PbOJLzWb8Ca0+KVEaibMeZTHlHyXmcx3jXcVy2Z3NTPg+LFiGLMUXyCNK2 dmvmt193AyDBhyR7J8ld1RFViSSw0Wj0Cw100wvvRowW8J8794LISRbffP62Be3F8+f4uf3i+Tb9 3tnaok989GLr+2+2d1/sbu3A191n32xtbz/bev4N2/oCtDRaLjIvZexrTPV/sW3+ZZSLdHQVRCMe 3bJkkc3iaKe3sbHRM7WCDdk7HvHUyzg7+O47Nk3jOfsVANjhqdPr/SK4YAjveMIPHcY+BmHIslkg 2BVnKb9LgyzjEfMklMSK317RTITNdad5lqfcdVkwT+I0Y0kaRBn0RpMsiKNeT3WLheipIT6/vcqD 0HeuAbl6TBMgGRIGv+lH0zidexlSMZ1n8vEkTrl+zNM0TmW372WeG3rRtX726Qf5YL6YJInunC/C 4Er246y6O0u9SOBczUdApwsIFP3ZIgnKKY4CkRE7fD5lHxJcs7D7ez0GbRNh+R6z+2z4ksVJlnip 4I6EOsHvKcFtnHLgYSSYFyEUPGQEmbIgAkWPJtzZ6BFkwsbteOy+fO54vu9KHLY1HEbxMEl5li2G JJbhnIOm+MIaEHSl+VxkY0tCu1KIK6A9ku7YEhmIwp16oeDtSKdeHmbj8zTnLY9nPEzG1scZzAOL zWLktFRXSYdUJuS2JqXfU5w9iKMsjUN2QroPGgGcSvMJkCM0CAiTzaLY56TfrfxJFsMgCrLh8QqO LFwEcaP1bAACVnLhLbJpKRsKU1VLcuW8LlgkqH/K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ieUCRFZGz9AVZdzQzoglUWs8YNwEjeMTONAztbIudJhJsCrsKydXcUFelPhVdbT 4cv1/a/yZSvNs7fKo1NyqoVpZqp/Jes2GVW/aHyyBgaRar01VZ36RXDtyJW4st6+RfNtSqiUWOg5 pj4GskiHR/mcbvBKlLIgo1+RUICVI1tLHNXAZGTVnKv09Nm/yjfVyvoFObPWPSP/16KSVYS/V2VR vvLXEEO5k66SwBv62w+JhFU3qoKBMPBQXJ16M4gmYe5ztlGJyZ3ZRnWJKucTyHSNo9JIRl10gREF JBJvwkFsxCi8CCJwQ3YaLWVL1dNq0hQbGIYPFuNXOmvG6LfYoiFxsski2iD17TcBsfnaNquqjjT0 WweYVuOTUJvM+J2x0YiZLGlhyBeL/yAsy+I4VEfm4b2YeakjZp91jjV//2lrt5n/2d150cX/X6PV /v7TlSdmvU3MuuDfscAXUemX+nMgWMWzRGHYjzrgJ1V+2esJnrFhzKI4j+Cr/pkECZ96Qah/8zTF N1p7PfXHLP4FBsIns5htYLntHvv2PzaKnusgo0uwIIP+/zz7ef/UfXd47h58eP/+8JwKoQnOqlK2 R38XBANsXI6wFBiCT2HvlNfMbEjvPk81kqW4fPChVu/3Xm8DKfvfll7Xuta1rnWta13rWte61rWu da1rXeta17rWta51rWtd61rXuta1rnWta13rWte61rWuda1rXeta1/6/tf8BfKF7pwB4AAA= XSHAR_DATA } change_dir extract_data devtools/hello-xshar.sh "$@"