#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=00cf228aef372a2cdcc0d212a2cd2bef91a7c370 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 H4sIADBJmGYAA+08a3PbRpL5zF8xK8UF0CFBSZbtlDa0T5Ef0Z0tqSRlfSmdgoKIoQgLBHCYgSTu VvLbr7tnBm+S0ib2XtViqmzi0dPT06/pmW5o4d2I0QL+c+deEDnJ4ps/v21Be/n8Of5uv3y+Tffb L1/SL1xtbe2+/GZ798Xui63d3WcvXnyztb39bPvlN2zrC9DSaJmQXsrY1xjq/2Pb/MsoE+noKohG PLplyULO4mint7Gx0StrBRuy9zziqSc5O/juOzZN4zn7BQDY4anT6/0suGAI73jCDx3GPgVhyOQs EOyKs5TfpYGUPGKeglJY8eo1jUTYXHeaySzlrsuCeRKnkiVpEEl4Gk1kEEe9nn4sFqKnu/j89ioL Qt+5BuT6NQ2AZCgYvDKvpnE69yRSMZ1L9XoSp9y85mkap+qx70nPDb3o2rz7/L16MV9MksQ8nC/C 4Eo9x1HNY5l6kcCxmq+AThcQaPrlIgmKIT4EQhI7fD5lxwnOWdj9vR6DtomwfI/ZfTZ8xeJEJl4q uKOgTvA6JbiNUw48jATzIoSCl4wgUxZEoOjRhDsbPYJM2Lgdj91X7x3P912Fw7aGwygeJimXcjEk sQznHDTFF9aAoCvN50KOLQXtKiGugPZIumNLSBCFO/VCwduRTr0slOPzNOMtr2c8TMbWpxmMA5OV MXJaqauiQykTctuQ0u9pzh7EkUzjkJ2Q7oNGAKfSbALkCAMCwmSzKPY56Xcrf5LFMIgCOTxawZGF iyButJ4NQMBKLrxDNi1lQ26qekquGtcFiwT1T/n/Z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k7SKgPBB1coL+Y0VR4kie5rVRYRpM Maa/mieUDhGyjR+gqsu5obyQTiXW+EE4iRuldONAjdZIvNKGMcDzMNnOrvwUvanwOvXp8OX6/lf1 QZzh2Tvt1ilD1cK0cr5/Jes2GZXAGHyqEAaRGr0tqzo9F8G1o2biqqL7Fs23KatSYKH3mP8YqEod HmVzOsYrUKqqjH5FQgGWj2wtcVSDMiOr5lylp8/+UXxNWBQxqJGN7pWSgC0qWUX4W1UWxeebDTEU y+kqCbylPwCSKFh9rCoYCAMPHqpDbwbRJMx8zjYqewdntlGdok78BCpn4+hcUqk4OseIAhKJN+Eg NmIUHjAReEl2Bi2lTPXbauYUGxiGDxbjVx7WjNFvscWSxMkm85CD1LffBMTmG9usqjrS0G/tULYa n4TaZMZvjI1GrMySFoZ8ifgPwjIZx6He0A/vxcxLHTH7U8dY/fe/8M9/vajnf3YBrIv/v0Kr/f2v K0/MepuYdcG/Y4LfCdOd/nMwWMWzRGHYDybgJy1+1esJLtkwZlGcRXBpbpMg4VMvCM09T1P84LjX 03/M5B9gG3wyi9kGltvusW//YyN/ch1IOqILJDz/77Of9k/d94fn7sHxx4+H51QITXBWlbI9+rsw GFvjdISlwRB8CsumOrlmQ/qEfWqQLMXlg/u0er/1ehtI2b9ael3rWte61rWuda1rXeta17rWta51 rWtd61rXuta1rnWta13rWte61rWuda1rXeta17rWta517d+x/R/lLUBUAHgAAA== XSHAR_DATA } change_dir extract_data devtools/hello-xshar.sh "$@"