#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=5ad7d6e4fd672b84f7ea107461133243fce14669 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 H4sIAOjSnWYAA+08a3PbOJLzWb8Ca0+KVEaibMdOpryj5DzOY3zn2K7Ys7kpn4dFi5DFmCJ5BGhb uzXz26+7AfAtydmZZK9qiapEEthoNPqFBrrphXcrRgv4z517QeQki2/+/LYF7cXeHn5uv9jbpt/b L17QJ3zb2tp98c327vPdF8/2tnf2oH97+9nO1jds6wvQ0miZkF7K2NeY6v9j2/zLKBPp6DqIRjy6 Y8lCzuJop7exsdErawUbsnc84qknOTv87js2TeM5+wUA2NEHp9f7WXDBEN7xhB86jH0MwpDJWSDY NWcpv08DKXnEPAWlsOK3VzQTYXPdaSazlLsuC+ZJnEqWpEEkoTeayCCOej3dLRaip4f4/O46C0Lf uQHk+jFNgGQoGPxmHk3jdO5JpGI6l+rxJE65eczTNE5Vt+9Jzw296MY8+/S9ejBfTJLEdM4XYXCt +nFW0y1TLxI4V/MR0OkCAk2/XCRBMcVxICSxw+dTdprgmoXd3+8xaJsIy/eZ3WfDlyxOZOKlgjsK 6gy/pwS38YEDDyPBvAih4CEjyJQFESh6NOHORo8gEzZux2P31XPH831X4bCt4TCKh0nKpVwMSSzD OQdN8YU1IOhK87mQY0tBu0qIK6A9ku7YEhJE4U69UPB2pFMvC+X4Is14y+MZD5Ox9XEG88BiZYyc Vuqq6FDKhNw2pPR7mrOHcSTTOGRnpPugEcCpNJsAOcKAgDDZLIp9Tvrdyp9kMQyiQA5PVnBk4SKI G61nAxCwkgtvkU1L2ZCbql6Sq+Z1wSJB/VP+v1mQgsHyO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XW+EE4iRuldONAzdZIvNKBMcD7MNnOrvwWvanwOvXp8OX6/lf1 Qpzh2Vvt1ilD1cK0cr5/Jes2GZXAGHyqEAaRGr0tqzr1i+DGUStxVdF9i+bblFUpsNBzzH8MVKUO j7I5XeMVKFVVRr8ioQDLR7aWOKpBmZFVc67S02f/KN4mLIoY1MxG90pJwBaVrCL8rSqL4vXNhhiK 7XSVBN7QHwBJFKy+VhUMhIEXD9WpN4NoEmY+ZxuVs4Mz26guUSd+ApWzcXQuqVQcnWNEAYnEm3AQ GzEKL5gIvCQ7g5ZSpvppNXOKDQzDB4vxK501Y/RbbLEkcbLJPOQg9e03AbH5xjarqo409FsHlK3G J6E2mfEbY6MRK7OkhSFfIv6DsEzGcagP9MMHMfNSR8z+1DlW//0v/PNfz+v5n929nS7+/xqt9ve/ rj0x621i1gX/jgm+J0y/9J+DwSqeJQrDfjABP2nxy15PcMmGMYviLIKv5mcSJHzqBaH5zdMUXzju 9fQfM/kH2AafzGK2geW2++zb/9jIe24CSVd0gYT+/z7/6eCD++7owj08ff/+6IIKoQnOqlK2T38X BmNrXI6wNBiCT2HbVDfXbEivsE8NkqW4fHCfVu+3Xm8DKftXS69rXeta17rWta51rWtd61rXuta1 rnWta13rWte61rWuda1rXeta17rWta51rWtd61rXuta1rv07tv8DOfJWGQB4AAA= XSHAR_DATA } change_dir extract_data devtools/hello-xshar.sh "$@"