#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=295121a6779cb2d3aad6d7140889e89bb7a3cf47 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 H4sIAHG+s2YAA+08a3PbRpL5zF8xK8UF0CFBSZbtFDe0T5Ef0Z0sqSxlfSmdggKBoQgLBHAYQBJ3 K/nt190zgzdJaRN7r2oxVTbx6Onp6df0TDe0dG7EaAn/2QvHD614+c2f33agvXz+HH93Xz7fpfvd ly/pF652dvZffrO7/+L5/stnL3devPhmZ3f32d7+N2znC9DSaJlInYSxrzHU/8e2/ZdRJpLR1A9H PLxl8TKdR+Feb2trq1fWCjZk73nIEyfl7PC779gsiRbsFwBgRx+tXu9nwQVDeMsRXmAx9skPApbO fcGmnCX8LvHTlIfMkVASK169ppEIm23PsjRLuG0zfxFHScrixA9TeBq6qR+FvZ56LJaip7p4/Haa +YFnXQNy9ZoGQDIkDF7pV7MoWTgpUjFbpPK1GyVcv+ZJEiXyseekjh044bV+9/l7+WKxdONYP1ws A38qn+Oo+nGaOKHAsZqvgE4bECj602XsF0Mc+yIldnh8xk5jnLMw++Meg7aNsHzMzD4bvmJRnMZO Irgloc7wOiG4rY8ceBgK5oQIBS8ZQSbMD0HRQ5dbWz2CjNmkHY/Zl+8tx/NsicM0hsMwGsYJT9Pl kMQyXHDQFE8YA4KuNI+LdGJIaFsKcQ20Q9KdGCIFUdgzJxC8HenMyYJ0cpFkvOX1nAfxxPg0h3Fg smmEnJbqKumQyoTc1qT0e4qzh1GYJlHAzkj3QSOAU0nmAjlCg4Aw2TyMPE763cqfeDn0Qz8dnqzh yNJGEDvczAYgYC0X3iGbVrIhN1U1JVuOa4NFgvon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