#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=41931c0e01be684b788989d56659691038a8a578 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 H4sIAEfRoWYAA+08/XPbNrL9WX8Fzm6GVCtRsuMkHV2VPNf5qN9LHE/sXl/Hz8ehSchiTJF8BGVb d9P+7W93AZAESUnOtcm9uSNmYknkYrHYL+wugKy8GzHKMy8WsyRbOOnqqz++jaE9PTjAz71nT/bo 996zZ/QJ3w72nzz+au/g6ZPx4yfjg72nX4339h4fPP2KjT8DLY22FLmXMfYlhvr/2HZ2dnpV8bMh y5dZzObJIrnmMU+WgsVh9J3jiSBiGU8zLnich0nMwjhP2JznPNOQvRVoUw3SQ9geDjPLkgVz3dkS BuCuy8JFmmQ5SzNABE9jnyAVWMBvr5ZhFDiA2kECXEKr+sS3XrTkA/Xplt/ytu5IldHdfpcEywh6 nQLpmbcYsEUSQJ9Z8cXNBz32kHaTr1JARB/QiYl8of7irxt+n2YPxnUcQ5fz5IbHA3YWXsceMmrA TrwFPwf0fcWbxcpPU2exisIrPaEouR6w3LsWd2HuzxUckBTG1xrE9wRgfxuKvNdz2RS79Ho9mCp7 BybwAz9bLa6SyEY+9idE7y5i4BNma9722fA5TC2jt+GMeO7AqHaf/WlayMKRmCbFnDMvFJwdCsEz lPCrLEsy23p1n3I/5wGT4AN2neTskbDYI8LUp+4ZJ2VE2hUVjgYnIEcYc8DZbZ8BQl3oJ5dbJoPA D54KAj94IhJYTiPM+UJP5VxbI6DNts9GqViPQH46dfElkxOgR6AR81I1JD7mCSSFlxMDBuADu5g3 6GJ/YqitQlydAimsGrNvAEeJD7Cky7aVevncGjDLny/jG/gyHrD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