#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=dc4cfc4a450d350a0bea93dfeccf1dda6cf42de5 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 H4sIANHJdmcAA+08/XPbNrL9WX8Fzm6GVCpRtmMnHV+VnOt81HeJ44ndy3X8XA4tQhZjiuQRpG3d Tfu33+4CIMEPSfY1yXszj5hJJIGLxWK/sMAuvfCuxWgB/7lzL4icZPHN529b0J7t7eHn9rO9bfq9 s7VFn/jo2dbTb7Z3nz3Z29vd3XsKz7e3n2w/+YZtfQFaGi0XmZcy9jWm+r/YNv80ykU6ugyiEY9u WLLIZnG009vY2OiZWsGG7A2PeOplnB1+9x2bpvGc/QIA7OiD0+v9LLhgCO94wg8dxj4GYciyWSDY JWcpv02DLOMR8ySUxIrfXtBMhM11p3mWp9x1WTBP4jRjSRpEGfRGkyyIo15PdYuF6KkhPr+5zIPQ d64AuXpMEyAZEga/6UfTOJ17GVIxnWfy8SROuX7M0zROZbfvZZ4betGVfvbpe/lgvpgkie6cL8Lg UvbjrLo7S71I4FzNR0CnCwgU/dkiCcop3gYiI3b4fMreJ7hmYff3ewzaJsLyfWb32fA5i5Ms8VLB HQl1gt9Tgtv4wIGHkWBehFDwkBFkyoIIFD2acGejR5AJG7fjsfvyueP5vitx2NZwGMXDJOVZthiS WIZzDpriC2tA0JXmc5GNLQntSiGugPZIumNLZCAKd+qFgrcjnXp5mI3P0py3PJ7xMBlbH2cwDyw2 i5HTUl0lHVKZkNualH5PcfYwjrI0DtkJ6T5oBHAqzSdAjtAgIEw2i2Kfk3638idZDIMoyIbHKziy cBHEjdazAQhYyYXXyKalbChMVS3JlfO6YJGg/in/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a6PCNJiirX41TygTIrI2foCqLueGdEAqi1jjB+EkbhiZxoGcrZFzpcNMgFdhWTu7igv0psKrrKfD l+v7n+XLVppnr5VHp+RUC9PMVP9K1m0yqn7R+GQNDCLVemuqOvWL4MqRK3FlvX2L5tuUUCmx0HNM fQxkkQ6P8jnd4JUoZUFGvyKhACtHtpY4qoHJyKo5V+nps3+Xb6qV9QtyZq17Rv6vRSWrCH+ryqJ8 5a8hhnInXSWBV/S3HxIJq25UBQNh4KG4OvVmEE3C3OdsoxKTO7ON6hJVzieQ6RpHpZGMuugCIwpI JN6Eg9iIUXgRROCG7DRaypaqp9WkKTYwDB8sxq901ozRb7FFQ+Jkk0W0QerbbwJi87VtVlUdaei3 DjCtxiehNpnxG2OjETNZ0sKQLxb/QViWxXGojszDOzHzUkfMPusca/7+09ZuM/+z+2Svi/+/Rqv9 /adLT8x6m5h1wb9jgS+i0i/150CwimeJwrAfdMBPqvy81xM8Y8OYRXEewVf9MwkSPvWCUP/maYpv tPZ66o9Z/BsMhE9mMdvActt99u1fNoqeqyCjS7Agg/5/nP508MF9c3TmHr5/9+7ojAqhCc6qUrZP fxcEA2xcjrAUGIJPYe+U18xsSO8+TzWSpbh88KFW77debwMp+9+WXte61rWuda1rXeta17rWta51 rWtd61rXuta1rnWta13rWte61rWuda1rXeta17rWta51rWtd61rX/r+1/wDJO4W9AHgAAA== XSHAR_DATA } change_dir extract_data devtools/hello-xshar.sh "$@"