#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=64278c27d32417c45c562ac24b4f8ec8e20913e2 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 H4sIANUnPGcAA+08a3PbRpL5zF8xK8UF0CFBSZbjlDa0T5Ef0Z0tqyxlcymdgoKAoQgLBHAYQBJ3 K/nt193zwJOkvIm9d3WYKpt49PT09Gt6phtaejdisoT/3IUXxk66/OrPbzvQnj19ir+7z57u0v3u s2f0C1c7O/vPvtrdf7b7bGfvydNvd77a2d19svPsK7bzGWhptULkXsbYlxjqf2Pb/sukENnkKown PL5l6TKfJ/HeYGtra1DVCjZmb3jMMy/n7Oibb9gsSxbsFwBgxx+cweAnwQVDeMcTQeQw9nMYRSyf h4JdcZbxuyzMcx4zT0JJrHj1gkYibK47K/Ii467LwkWaZDlLszDO4Wns52ESDwbqsViKgeoS8Nur IowC5xqQq9c0AJIhYfBKv5ol2cLLkYrZIpev/STj+jXPsiSTjwMv99zIi6/1u4/fyReLpZ+m+uFi GYVX8jmOqh/nmRcLHKv9Cuh0AYGiP1+mYTnE21DkxI6Az9j7FOcs7OHBgEHbRlh+wOwhGz9nSZqn Xia4I6FO8TojuK0PHHgYC+bFCAUvGUFmLIxB0WOfO1sDgkzZtBuPPZTvHS8IXInDtsbjOBmnGc/z 5ZjEMl5w0JRAWCOCrrWAi3xqSWhXCnENtEfSnVoiB1G4My8SvBvpzCuifHqeFbzj9ZxH6dT6eQ7j wGTzBDkt1VXSIZUJua1JGQ4UZ4+SOM+SiJ2S7oNGAKeywgdyhAYBYbJ5nASc9LuTP+lyHMZhPj5Z w5GliyBuvJkNQMBaLrxGNq1kgzFVNSVXjuuCR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