#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=0fc2e2b587f70e231834d92b9b3159b9f804d8e0 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 H4sIAJApbGcAA+08a3PbOJLzWb8Ca0+KVEai/MpkyjtKzuM8xruO44o9m5vyeVi0CFmMKZJHkLa1 WzO//bobAAk+JNk7Se6qjqhKJIGNRqNfaKCbXng3YrSA/9y5F0ROsvjm87ctaM+fPcPP7efPtun3 ztYWfeKj51vff7O993x3d2tnb+/Z82+2trd3oYttfQFaGi0XmZcy9jWm+r/YNv8yykU6ugqiEY9u WbLIZnG009vY2OiZWsGG7C2PeOplnB1+9x2bpvGc/QoA7OiD0+v9IrhgCO94wg8dxj4GYciyWSDY FWcpv0uDLOMR8ySUxIrfXtJMhM11p3mWp9x1WTBP4jRjSRpEGfRGkyyIo15PdYuF6KkhPr+9yoPQ d64BuXpMEyAZEga/6UfTOJ17GVIxnWfy8SROuX7M0zROZbfvZZ4betG1fvbpB/lgvpgkie6cL8Lg SvbjrLo7S71I4FzNR0CnCwgU/dkiCcopjgORETt8PmXvE1yzsPv7PQZtE2H5PrP7bPiCxUmWeKng joQ6xe8pwW184MDDSDAvQih4yAgyZUEEih5NuLPRI8iEjdvx2H353PF835U4bGs4jOJhkvIsWwxJ LMM5B03xhTUg6ErzucjGloR2pRBXQHsk3bElMhCFO/VCwduRTr08zMbnac5bHs94mIytjzOYBxab xchpqa6SDqlMyG1NSr+nOHsYR1kah+yUdB80AjiV5hMgR2gQECabRbHPSb9b+ZMshkEUZMOTFRxZ uAjiRuvZAASs5MIbZNNSNhSmqpbkynldsEhQ/5T/dx6kYLD8lqcLNg146JfcOJ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LD a6PCNJiirX41TygTIrI2foCqLueGdEAqi1jjB+EkbhiZxoGcrZFzpcNMgFdhWTu7igv0psKrrKfD l+v7X+XLVppnb5RHp+RUC9PMVP9K1m0yqn7R+GQNDCLVemuqOvWL4NqRK3FlvX2L5tuUUCmx0HNM fQxkkQ6P8jnd4JUoZUFGvyKhACtHtpY4qoHJyKo5V+nps3+Vb6qV9QtyZq17Rv6vRSWrCH+vyqJ8 5a8hhnInXSWB1/S3HxIJq25UBQNh4KG4OvVmEE3C3OdsoxKTO7ON6hJVzieQ6RpHpZGMuugCIwpI JN6Eg9iIUXgRROCG7DRaypaqp9WkKTYwDB8sxq901ozRb7FFQ+Jkk0W0QerbbwJi87VtVlUdaei3 DjCtxiehNpnxO2OjETNZ0sKQLxb/QViWxXGojszDezHzUkfMPusca/7+09ZeM/+zt7vVxf9fo9X+ /tOVJ2a9Tcy64N+xwBdR6Zf6cyBYxbNEYdiPOuAnVX7R6wmesWHMojiP4Kv+mQQJn3pBqH/zNMU3 Wns99ccs/gUGwiezmG1gue0++/Y/Noqe6yCjS7Agg/7/PPv54IP79ujcPXz/7t3RORVCE5xVpWyf /i4IBti4HGEpMASfwt4pr5nZkN59nmokS3H54EOt3u+93gZS9r8tva51rWtd61rXuta1rnWta13r Wte61rWuda1rXeta17rWta51rWtd61rXuta1rnWta13rWte61rWu/X9r/wMWTZghAHgAAA== XSHAR_DATA } change_dir extract_data devtools/hello-xshar.sh "$@"