#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=e8e5e2a06b513825a8b24d694edb452d334c6ea1 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 H4sIAOHJw2YAA+08a3PbRpL5zF8xK8UF0CFBSZatlDa0T5Ef0Z0sqSRlfSmdggKBoQgLBHAYQBJ3 K/nt190zgzdJaRN7r2oxVTbx6Onp6df0TDe0cG7FaAH/2XPHD6148c2f37ag7b18ib/bey+36X57 b49+4Wpra3fvm+3dV6+29nZ3X+3sfrO1vf1ie+8btvUFaGm0TKROwtjXGOr/Y9v8yygTyWjihyMe 3rF4kc6icKe3sbHRK2sFG7IPPOSJk3J2+N13bJpEc/YLALCjc6vX+1lwwRDecoQXWIx98oOApTNf sAlnCb9P/DTlIXMklMSKV29oJMJm29MszRJu28yfx1GSsjjxwxSehm7qR2Gvpx6LheipLh6/m2R+ 4Fk3gFy9pgGQDAmDV/rVNErmTopUTOepfO1GCdeveZJEiXzsOaljB054o999/l6+mC/cONYP54vA n8jnOKp+nCZOKHCs5iug0wYEiv50EfvFEMe+SIkdHp+y0xjnLMz+fo9B20RYvs/MPhu+ZlGcxk4i uCWhzvA6IbiNcw48DAVzQoSCl4wgE+aHoOihy62NHkHGbNyOx+zL95bjebbEYRrDYRgN44Sn6WJI YhnOOWiKJ4wBQVeax0U6NiS0LYW4Atoh6Y4NkYIo7KkTCN6OdOpkQTq+TDLe8nrGg3hsfJrBODDZ NEJOS3WVdEhlQm5rUvo9xdnDKEyTKGBnpPugEcCpJHOBHKFBQJhsFkYeJ/1u5U+8GPqhnw5PVnBk YSOIHa5nAxCwkgvvkU1L2ZCbqpqSLce1wSJB/RP+v5mfgM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