#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=0f0caeb66d6cf9f4d7785b66ddb4d7441f2db0ec 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 H4sIAMed6WcAA+07a3PbRpL5zF8xK8UF0CFBSZYfxQ3tU+RHtGvLKkvZXEqnoCBgKMICARwGlMTd Sn77dffMABgAJKVL7LuqxVTZIoGenn5Pd89w6V2LkeuGcZi7rpMuv/kCYwfGs/19/Lv7/Okufd/b 2aG/anyzu//8+d6T3WdP9/e+2dnd3dl/+g3b+RLE1MdC5F7G2NdY6v/jWKL+r3js+mn6hdS/Sf/7 z/af1/S/83z/Waf/rzG2trZ6pfrZkOWLLGZoFY4ngohlPM244HHu5WESszDOE3b43Xc9nDfNkjlz 3ekC5nDXZeE8TbKcpRlAwdPYxyk9BRbwm8tFGAUOrOYgfpfwqzn2SZZcZd58wOZJALDT4oPLB+w6 X6Z80GP3GQRbTHLzATv25vwMETCRz3P5v3tfdAQMk45i+O+a36UZ4aYPeV/yNl+C9DQn82UUXlae O/RAv829K3Eb5v5swKLkSskGCA3jKw3ieyLv9Vw2kRA9kAF7x2PkwAbIAZv2x0T7Nk7kY2YXnNJS zs9ZmPOsz4Yv2XES8x4B/3TiAhQghf/pAVAxK8lBzH3mCVydjwvRhFN6oFbgDkihPzYEN3VucTnb Ap1b/V7xjkf1uad5tmruD+EVvH28fv77UNQXlxyhwCQUwQwUr/32tRDke8t8WRGvc4YCbp/6skZh VVI4Mi8UnB0IwTO0/DdZlmQk2FKLJx4Yud2mxNJK12hRE5o6yhJ6BoHskYB/LHViQFZZ9Q1Yq40m 22Y80pQ3GQ9CgazxT5v54PN19iMdp8V+FF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