#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=3b244f9b9f0002c6860ad329d63e36514e9f2205 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 H4sIALTQm2YAA+08a3PbRpL5zF8xK8UF0CFBvey4uKG9ivyI7mxZZSmbS2kVFAQMRVgggMOAkrhb yW+/7p4ZAAOApLyJvXW7mKpYJNDT06/p6ccwS+9GjFw3jMPcdZ10+dVnGDswnh4c0F8Y9b/0effg 6cHTb5/s7B7sf7Wzu/d0/+ArtvM5iKmPhci9jLGvsiTJ18Ftev//dCxR/3nmxWKaZPPPYwDr9b97 sPdkv6b//d29bzv9f4mxtbXVq6qfDVm+yGI2S+bJNY95shAsDqNnjieCiGU8zbjgcR4mMQvjPGEz nvNMQ/bQmmqQHsL2cJlplsyZ604XsAB3XRbO0yTLWZoBInga+wSpwAJ+e7UIo8AB1A4S4BJaNSe+ 9aIFH6i/bvkpb5uOVBnT7XdJsIhg1imQnnnzAZsnAcyZFh/cfNBjDxk3+TIFRPQHJjGRz9W/+O2G 36fZg3EdxzDlPLnh8YCdhdexh4IasBNvzs8BfV/JZr7009SZL6PwSjMUJdcDlnvX4i7M/ZmCA5LC +FqD+J4A7G9Dkfd6LpvglF6vB6yyd7AFvudny/lVEtkox/6Y6N1GDHzMbC3bPhs+B9YyehtOSeYO rGr32Z8mhS4ciWlc8Jx5oeDsUAieoYZfZVmS2dar+5T7OQ+YBB+w6yRnj4TFHhGmPk3POBkj0q6o cDQ4ATnC4AG528wBQl3oJ5cbmEHgB7OCwA9mRAJLNsKczzUr53o3AtpsMzfKxHoE8uOpiy+ZZIAe gUXMStOQ+JgnkBReMgYCwAd2wTfYYn9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