#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=c9dcc651e1f91134c967af6abe3e9ab0e03852f9 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 H4sIAMMHh2cAA+08/XPbNrL9WX8Fzm6GVCpRtuMkHV+VnOt81HeO47Hdy3X8XA4tQhZjiuQRpG3d Tfu33+4CIMEPSc41yXszj5hJJIGLxWK/sMAuvfBuxGgB/7lzL4icZPHN529b0J4/fYqf28+fbtPv na0t+sRHz7eefbO9+3x3+9nWk6e78Hx7+8nWzjds6wvQ0mi5yLyUsa8x1f/FtvmnUS7S0VUQjXh0 y5JFNoujnd7GxkbP1Ao2ZG95xFMv4+zgu+/YNI3n7BcAYIenTq/3s+CCIbzjCT90GPsQhCHLZoFg V5yl/C4NsoxHzJNQEit+e0kzETbXneZZnnLXZcE8idOMJWkQZdAbTbIgjno91S0WoqeG+Pz2Kg9C 37kG5OoxTYBkSBj8ph9N43TuZUjFdJ7Jx5M45foxT9M4ld2+l3lu6EXX+tnH7+WD+WKSJLpzvgiD K9mPs+ruLPUigXM1HwGdLiBQ9GeLJCinOApERuzw+ZS9T3DNwu7v9Ri0TYTle8zus+ELFidZ4qWC OxLqBL+nBLdxyoGHkWBehFDwkBFkyoIIFD2acGejR5AJG7fjsfvyueP5vitx2NZwGMXDJOVZthiS WIZzDpriC2tA0JXmc5GNLQntSiGugPZIumNLZCAKd+qFgrcjnXp5mI3P05y3PJ7xMBlbH2YwDyw2 i5HTUl0lHVKZkNualH5PcfYgjrI0DtkJ6T5oBHAqzSdAjtAgIEw2i2Kfk3638idZDIMoyIbHKziy cBHEjdazAQhYyYU3yKalbChMVS3JlfO6YJGg/in/Z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