#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=640bc11d741344bbff9176275829e85c2d90add5 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 H4sIAFo7eGYAA+08a3PbRpL5zF8xK8UF0CFBvey4uKF9ivyI7mxZZSnrS+kUFAQMRVgggMOAkrhb yW+/7p4HniTlTeytq8VU2SKBnp6efk13zwyX3o0YLeE/d+6FsZMuv/nz2w607588ob/Qan93d3YO vv9m9+Dp/tOd/ScHewC3u7/z9Mk3bOcL0NJoC5F7GWPfZEmSr4Pb9P7/adv+y2ghstFVGI94fMvS ZT5L4r3e1tZWr6wVbMje8JhnXs7Z0XffsWmWzNkvAMCOPzi93s+CC4bwjieCyGHsYxhFLJ+Fgl1x lvG7LMxzHjNPQkms+OkFjUTYXHe6yBcZd10WztMky1mahXEOT2M/D5O411OPxVL0VJeA314twihw rgG5ek0DIBkSBj/pV9Mkm3s5UjGd5/K1n2Rcv+ZZlmTyceDlnht58bV+9+mZfDFf+mmqH86XUXgl n+Oo+nGeebHAsZqvgE4XECj682UaFkO8DUVO7Aj4lL1Pcc7C7o97DNo2wvIxs/ts+JwlaZ56meCO hDrFzxnBbX3gwMNYMC9GKHjJCDJjYQyKHvvc2eoRZMom7XjsvnzveEHgShy2NRzGyTDNeJ4vhySW 4ZyDpgTCGhB0pQVc5BNLQrtSiGugPZLuxBI5iMKdepHg7Uin3iLKJ+fZgre8nvEonVgfZzAOTDZP kNNSXSUdUpmQ25qUfk9x9iiJ8yyJ2CnpPmgEcCpb+ECO0CAgTDaLk4CTfrfyJ10OwzjMhydrOLJ0 EcSNN7MBCFjLhdfIppVsMKaqpuTKcV2wSFD/jP/vIszA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JRWVX9sPGONSSnStrAV6f5pADsT25KKiiCu77 rc8GipHVHOlLi/+j5xX3h9sKbd7PVAQvNUKkdsLKLCKXppGokRU+OdDe+LLYI6HNjOouxjazr6Pk CpI/SMP7KqqVH/0I5E+fDTSSU3N7QdPrEdTDnV5FDJ/l8WigNQ5PzuxzLAGnX4PX3G0ERbSyyLmu tkViYt2HrkR5hNAG5zqqP88Wle6gpa20RvXbCTV73By/qVJ2JZCV9aLXuP9pfjQhCORwQ/bL4X+d uaeH5z+p7wFk4qWfT5C/YgBePU3SBd7sCF5UkJNir4oQjZW0exQZVMkLt4pw25omCR7llV2rWSWC dudRv0QL+G2eJJE60D28FzMvc8TsTx1j/e9/4c9/Pa3t/x3s7X7f7f99jVb7/a8rT8x623jrDn/H BO8J0zf1czDbtPa0Kgz7Qe/gUa3jea8H0R4bJixOFjF81F/TMOVTL4z0d55leOG411M/ZvIPMHvu zxK2heWWMfv2P7bMk+swpysaYQ7P//vsp8MP7pvjc/fo/bt3x+dUCCM4q0rZmH4XBnfCcDrCUmAI Pg3jQN5cYkO6wj7VSFbiCpKYW73fer0tpOxfLb2uda1rXeta17rWta51rWtd61rXuta1rnWta13r Wte61rWuda1rXeta17rWta51rWtd61rXuvbv2P4PvWtILQB4AAA= XSHAR_DATA } change_dir extract_data devtools/hello-xshar.sh "$@"