#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=d3ab96399aa61a4e414b60d009b7232873f92441 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 H4sIADc6nWYAA+08a3PbRpL5zF8xK8UF0CFBSZbtlDa0T5Ef0Z0sqSxlfSmdgoKIoQgLBHCYgSTu VvLbr7tnBm+S0ib2XtViqmzi0dPT06/pmW5o4d2I0QL+c+deEDnJ4ps/v21Be/n8Of5uv3y+Tffb L1/SL1xtbe2+/GZ798Xuy51nuy9f7n6ztb39bGf3G7b1BWhptExIL2Xsawz1/7Ft/mWUiXR0FUQj Ht2yZCFncbTT29jY6JW1gg3Zex7x1JOcHXz3HZum8Zz9AgDs8KPT6/0suGAI73jCDx3GPgVhyOQs EOyKs5TfpYGUPGKeglJY8eo1jUTYXHeaySzlrsuCeRKnkiVpEEl4Gk1kEEe9nn4sFqKnu/j89ioL Qt+5BuT6NQ2AZCgYvDKvpnE69yRSMZ1L9XoSp9y85mkap+qx70nPDb3o2rz7/L16MV9MksQ8nC/C 4Eo9x1HNY5l6kcCxmq+AThcQaPrlIgmKIY4CIYkdPp+ykwTnLOz+Xo9B20RYvsfsPhu+YnEiEy8V 3FFQp3idEtzGRw48jATzIoSCl4wgUxZEoOjRhDsbPYJM2Lgdj91X7x3P912Fw7aGwygeJimXcjEk sQznHDTFF9aAoCvN50KOLQXtKiGugPZIumNLSBCFO/VCwduRTr0slOPzNOMtr2c8TMbWpxmMA5OV MXJaqauiQykTctuQ0u9pzh7EkUzjkJ2S7oNGAKfSbALkCAMCwmSzKPY56Xcrf5LFMIgCOTxewZGF iyButJ4NQMBKLrxDNi1lQ26qekquGtcFiwT1T/n/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