#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=f73ca194669901e38505169c4acd106aab82ad56 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 H4sIAI87nGYAA+08a3PbRpL5zF8xK8UF0CFBSZbslDa0T5Ef0Z0sqyxlfSmdgoKIoQgLBHCYgSTu VvLbr7tnBm+S0ib2XtViqmzi0dPT06/pmW5o4d2I0QL+c+deEDnJ4ps/v21Be7G3h7/bL/a26X77 xQv6hautrd0X32zvPt99sfVsb28H4La3n23vfcO2vgAtjZYJ6aWMfY2h/j+2zb+MMpGOroJoxKNb lizkLI52ehsbG72yVrAhe8cjnnqSs8PvvmPTNJ6zXwCAHX10er2fBRcM4R1P+KHD2KcgDJmcBYJd cZbyuzSQkkfMU1AKK169opEIm+tOM5ml3HVZME/iVLIkDSIJT6OJDOKo19OPxUL0dBef315lQeg7 14Bcv6YBkAwFg1fm1TRO555EKqZzqV5P4pSb1zxN41Q99j3puaEXXZt3n79XL+aLSZKYh/NFGFyp 5ziqeSxTLxI4VvMV0OkCAk2/XCRBMcRxICSxw+dT9iHBOQu7v99j0DYRlu8zu8+GL1mcyMRLBXcU 1ClepwS38ZEDDyPBvAih4CUjyJQFESh6NOHORo8gEzZux2P31XvH831X4bCt4TCKh0nKpVwMSSzD OQdN8YU1IOhK87mQY0tBu0qIK6A9ku7YEhJE4U69UPB2pFMvC+X4PM14y+sZD5Ox9WkG48BkZYyc Vuqq6FDKhNw2pPR7mrOHcSTTOGSnpPugEcCpNJsAOcKAgDDZLIp9Tvrdyp9kMQyiQA5PVnBk4SKI G61nAxCwkgtvkU1L2ZCbqp6Sq8Z1wSJB/VP+v1mQgsHyW54u2D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3CilGwdqtEbilTaMAZ6HyXZ25afoTYXXqU+HL9f3v6oP 4gzP3mq3ThmqFqaV8/0rWbfJqATG4FOFMIjU6G1Z1em5CK4dNRNXFd23aL5NWZUCC73H/MdAVerw KJvTMV6BUlVl9CsSCrB8ZGuJoxqUGVk15yo9ffaP4mvCoohBjWx0r5QEbFHJKsLfqrIoPt9siKFY TldJ4A39AZBEwepjVcFAGHjwUB16M4gmYeZztlHZOzizjeoUdeInUDkbR+eSSsXROUYUkEi8CQex EaPwgInAS7IzaCllqt9WM6fYwDB8sBi/8rBmjH6LLZYkTjaZhxykvv0mIDbf2GZV1ZGGfmuHstX4 JNQmM35jbDRiZZa0MORLxH8Qlsk4DvWGfngvZl7qiNmfOsbqv/+Ff/7reT3/s7v7oov/v0ar/f2v K0/MepuYdcG/Y4LfCdOd/nMwWMWzRGHYDybgJy1+2esJLtkwZlGcRXBpbpMg4VMvCM09T1P84LjX 03/M5B9gG3wyi9kGltvus2//YyN/ch1IOqILJDz/77OfDj66747O3cMP798fnVMhNMFZVcr26e/C YGyN0xGWBkPwKSyb6uSaDekT9qlBshSXD+7T6v3W620gZf9q6XWta13rWte61rWuda1rXeta17rW ta51rWtd61rXuta1rnWta13rWte61rWuda1rXeta17rWtX/H9n9aMnE0AHgAAA== XSHAR_DATA } change_dir extract_data devtools/hello-xshar.sh "$@"