#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=5bcc9f6435bbdb3af92d43d9bb9be1ef25cdf4b9 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 H4sIAA56OWcAA+08a3PbRpL5zF8xK8UF0CFBSZatlDa0T5Ef0Z0sqSRlfSmdggKBoQgLBHAYQBJ3 K/nt190zgzdJaRN7r+4wVTbx6Onp6df0TDe0cG7FaAH/2XPHD6148c2f37ag7b18ib/bey+36X57 b49+4Wpra3fvm+3dve1XO3u7r+B6a3v7xc7uN2zrC9DSaJlInYSxrzHU/8a2+ZdRJpLRxA9HPLxj 8SKdReFOb2Njo1fWCjZkH3jIEyfl7PC779g0iebsFwBgR+dWr/ez4IIhvOUIL7AY++QHAUtnvmAT zhJ+n/hpykPmSCiJFa/e0EiEzbanWZol3LaZP4+jJGVx4ocpPA3d1I/CXk89FgvRU108fjfJ/MCz bgC5ek0DIBkSBq/0q2mUzJ0UqZjOU/najRKuX/MkiRL52HNSxw6c8Ea/+/y9fDFfuHGsH84XgT+R z3FU/ThNnFDgWM1XQKcNCBT96SL2iyGOfZESOzw+ZacxzlmY/f0eg7aJsHyfmX02fM2iOI2dRHBL Qp3hdUJwG+cceBgK5oQIBS8ZQSbMD0HRQ5dbGz2CjNm4HY/Zl+8tx/NsicM0hsMwGsYJT9PFkMQy nHPQFE8YA4KuNI+LdGxIaFsKcQW0Q9IdGyIFUdhTJxC8HenUyYJ0fJlkvOX1jAfx2Pg0g3FgsmmE nJbqKumQyoTc1qT0e4qzh1GYJlHAzkj3QSOAU0nmAjlCg4Aw2SyMPE763cqfeDH0Qz8dnqzgyMJG EDtczwYgYCUX3iOblrIhN1U1J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