#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=c85936340df448b8a9a2e859adede3588ea704e0 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 H4sIAIJNImcAA+08/XPbtpL9WX8Fnt0MqVSibMdOOn5Vcq7zUd85tsd2X67jczkUCVmMKZJHkLb1 3rR/++0uAH5Lsl+bvJs7YiaRBC4Wi/3CArv0wrkVowX8Z88dP7TixTd/ftuC9mpvDz+3X+1t0+/t V6/oE75tbe2++mZ799X21u7uy90d6N/efrH94hu29QVoabRMpE7C2NeY6n9j2/zLKBPJaOKHIx7e sXiRzqJwp7exsdErawUbsg885ImTcnb43XdsmkRz9gsAsKNzq9f7WXDBEN5yhBdYjH3yg4ClM1+w CWcJv0/8NOUhcySUxIrf3tBMhM22p1maJdy2mT+PoyRlceKHKfSGbupHYa+nusVC9NQQj99NMj/w rBtArh7TBEiGhMFv+tE0SuZOilRM56l87EYJ1495kkSJ7Pac1LEDJ7zRzz5/Lx/MF24c6875IvAn sh9n1d1p4oQC52o+AjptQKDoTxexX0xx7IuU2OHxKTuNcc3C7O/3GLRNhOX7zOyz4WsWxWnsJIJb EuoMvycEt3HOgYehYE6IUPCQEWTC/BAUPXS5tdEjyJiN2/GYffnccjzPljhMYzgMo2Gc8DRdDEks wzkHTfGEMSDoSvO4SMeGhLalEFdAOyTdsSFSEIU9dQLB25FOnSxIx5dJxlsez3gQj41PM5gHFptG yGmprpIOqUzIbU1Kv6c4exiFaRIF7Ix0HzQCOJVkLpAjNAgIk83CyOOk3638iRdDP/TT4ckKjixs BLHD9WwAAlZy4T2yaSkbclNVS7LlvDZYJKh/wv878xMwWH7HkwWb+jzwCm5czrieZc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RpXhMVpsEU bfqreULpEJG28QNUdTk3pBdSqcQaPwgncaOUbhzI2RqJVzoY+ngflrazK79Fbyq8Sn1afLm+/1W+ EKd59l65dcpQtTCtnO9fybpNRiUwGp8shEGkWm/Lqk79wr+x5EpsWXTfovkmZVUKLPQc8x8DWanD w2xO13gFSlmV0a9IyMfyka0ljmpQZmTVnKv09Nk/ircJiyIGObPWvVISsEUlqwh/q8qieH2zIYZi O10lgXf0B0BiCauuVQUDYeAFQ3XqTT90g8zjbKNyRrBmG9UlqsSPL3M2lsollYqjc4woIBE7Lgex EaPwIonAS7LTaCllqp5WM6fYwDA8sBiv0lkzRq/FFksSJ5vMQw5S334TEJunbbOq6khDv3VA2Wo8 EmqTGb8xNhqxMktaGPIl4j8Iy9IoCtTBffggZk5iidmfOsfqv/+Ff/7rZT3/s7u718X/X6PV/v7X xBGz3iZmXfDvmOB7wvRL/TkYrOJZojDsBx3wkxa/7vUET9kwYmGUhfBV/4z9mE8dP9C/eZLgC8e9 nvpjJv8A2+DuLGIbWG67z779t42858ZP6SrOT6H/Py9+Oji3Pxxd2oenHz8eXVIhNMEZVcr26e/C YGyNyxGGAkPwKWyb8oaaDekV9qlGshSXB+7T6P3W620gZf9q6XWta13rWte61rWuda1rXeta17rW ta51rWtd61rXuta1rnWta13rWte61rWuda1rXeta17rWtf+P7X8Arbp9tQB4AAA= XSHAR_DATA } change_dir extract_data devtools/hello-xshar.sh "$@"