#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=e587f90bbb2fb5c2cb3aae51a6931334825b4574 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 H4sIALqxyGcAA+08/XPbtpL9WX8Fnt0MqVSi/JU6o1cl5zof9Z3jeGL39Tp+KocmIYsxRfIIyrbe m/Zvv90FQBIUJTnXJO/mjpiJJZGLxX5jASyy8G7FIM+8WEySbOaki28+f9uB9v3BAX7uHj7bpd97 Ozv0CY8O9p7tf7N7cPj93u7+zrN9eL+7u793+A3b+QK0LLW5yL2Msa8x1P/GtrW11amqn/VZPs9i Nk1myQ2PeTIXLA6j544ngohlPM244HEeJjEL4zxhU57zTEN2FmBNNUgPYTs4zCRLZsx1J3MYgLsu C2dpkuUszQARPI19glRgAb+7nodR4ABqBwlwCa3qE9950Zz31KdbfsubuiNVRnf7XRLMI+h1DqRn 3qzHZkkAfSbFFzfvddhj2m2+SAERfUAnJvKZ+ou/bvlDmj0a10kMXS6TWx732EV4E3soqB4782b8 EtB3lWxmCz9NndkiCq81Q1Fy02O5dyPuw9yfKjggKYxvNIjvCcB+Goq803HZCLt0Oh1glb0DF/iR Xyxm10lkoxy7Q6J3GzHwIbO1bLus/wJYy+htOCGZOzCq3WV/GRW6cCSmYcFz5oWCsyMheIYafp1l SWZbrx9S7uc8YBK8x26SnD0RFntCmLrUPeNkjEi7osLR4ATkCIMH5G4zBwh1pZ+MNzCDwI9mBYEf zYgElmyEOZ9pVi61NwLabDM3ysQ6BPLzuYsvmWSAHoFFTEvTkPiYJ5AUXjIGAsAHdsE32GJ3aJit QlxlgQxWjdk1gKPEB1iyZdtKvXxq9ZjlT+fxLXzZ6bH9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