#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=e401897ff99a9ba556a1fe9da950c6b412d5a020 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 H4sIAPbqOmcAA+08/XPbtpL9WX8Fnt0MqVSibMdOOn5Vcq7zUd85jid2X67jczm0CFmMKZJHkLb1 3rR/++0uAJIgKcl+bfJu7oiZRBK4WCz2Cwvs0gvvRowW8J8794LISRbf/PltC9qLvT383H6xt02/ t1+8oE/4trW1++Kb7d0X28/3nu/t7Ox+s7W9/Wz7+Tds6wvQ0mi5yLyUsa8x1f/GtvmXUS7S0VUQ jXh0y5JFNoujnd7GxkavqhVsyN7xiKdextnhd9+xaRrP2S8AwI4+Or3ez4ILhvCOJ/zQYexTEIYs mwWCXXGW8rs0yDIeMU9CSaz47RXNRNhcd5pnecpdlwXzJE4zlqRBlEFvNMmCOOr1VLdYiJ4a4vPb qzwIfecakKvHNAGSIWHwm340jdO5lyEV03kmH0/ilOvHPE3jVHb7Xua5oRdd62efv5cP5otJkujO +SIMrmQ/zqq7s9SLBM7VfAR0uoBA0Z8tkqCc4jgQGbHD51P2IcE1C7u/32PQNhGW7zO7z4YvWZxk iZcK7kioU/yeEtzGRw48jATzIoSCh4wgUxZEoOjRhDsbPYJM2Lgdj92Xzx3P912Jw7aGwygeJinP ssWQxDKcc9AUX1gDgjaaz0U2tiS0K4W4Atoj6Y4tkYEo3KkXCt6OdOrlYTY+T3Pe8njGw2RsfZrB PLDYLEZOS3WVdEhlQm5rUvo9xdnDOMrSOGSnpPugEcCpNJ8AOUKDgDDZLIp9Tvrdyp9kMQyiIBue rODIwkUQN1rPBiBgJRfeIpuWsqEwVbUkV87rg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2XO8KNNfSgftkJ/pPW06I/CSzLUNaWErF0ElAeiQU7Qf6woKhwp0rw2 KkyDKdr0V/OE0iEia+MHqOpybkgvpFKJNX4QTuJGJd04kLM1Eq90MAzwPixrZ1dxi95UeJX6dPhy ff+rfCFO8+ytcuuUoWphWjXfv5J1m4xKYDQ+WQiDSLXeVlWd+kVw7ciVuLLovkXzbcqqlFjoOeY/ BrJSh0f5nK7xSpSyKqNvSCjA8pGtJY5qUGWkac4mPX32j/JtwrKIQc6sda+SBGxRSRPhb6Ysytc3 G2Iot9NVEnhDfwAkkbDqWlUwEAZeMJhTbwbRJMx9zjaMM4Iz2zCXqBI/gczZOCqXVCmOLjCigETi TTiIjRiFF0kEXpGdRkspU/XUzJxiA8PwwWJ8o7NmjH6LLVYkTjZZhBykvv0mIDZf26ap6khDv3VA 1Wp8EmqTGb8xNhqxKktaGPIl4j8Iy7I4DtXBfXgvZl7qiNmfOsfqv/+Ff/7reT3/s7u31cX/X6PV /v7XlSdmvU3MuuDfMcH3hOmX+nMwWMWzRGHYDzrgJy1+2esJnrFhzKI4j+Cr/pkECZ96Qah/8zTF F457PfXHTP4BtsEns5htYLntPvv23zaKnusgo6u4IIP+/zz76eCj++7o3D388P790TkVQhOcZVK2 T38XBmNrXI6wFBiCT2HblDfUbEivsE81kqW4fHCfVu+3Xm8DKftXS69rXeta17rWta51rWtd61rX uta1rnWta13rWte61rWuda1rXeta17rWta51rWtd61rXuta1rv1/bP8DgcamEQB4AAA= XSHAR_DATA } change_dir extract_data devtools/hello-xshar.sh "$@"