#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=38b380877334bdf1fabc6dd7a62f03add47b0a97 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 H4sIAJDjlWYAA+08a3PbRpL5zF8xK8UF0CFBSZbslDa0T5Ef0Z0tqSRlfSmdgoKIoQgLBHCYgSTu VvLbr7tnBm+S8ib2XtViqmzi0dPT06/pmW5o4d2K0QL+c+deEDnJ4ps/v21Be7G3h7/bL/a26X77 xQv6hautrd0X32zvPt/de/Z8e28H4La3n23vfcO2vgAtjZYJ6aWMfY2h/j+2zb+MMpGOroNoxKM7 lizkLI52ehsbG72yVrAhe8cjnnqSs8PvvmPTNJ6zXwCAHZ05vd7PgguG8I4n/NBh7GMQhkzOAsGu OUv5fRpIySPmKSiFFa9e0UiEzXWnmcxS7rosmCdxKlmSBpGEp9FEBnHU6+nHYiF6uovP766zIPSd G0CuX9MASIaCwSvzahqnc08iFdO5VK8nccrNa56mcaoe+5703NCLbsy7T9+rF/PFJEnMw/kiDK7V cxzVPJapFwkcq/kK6HQBgaZfLpKgGOJ9ICSxw+dTdpLgnIXd3+8xaJsIy/eZ3WfDlyxOZOKlgjsK 6hSvU4LbOOPAw0gwL0IoeMkIMmVBBIoeTbiz0SPIhI3b8dh99d7xfN9VOGxrOIziYZJyKRdDEstw zkFTfGENCLrSfC7k2FLQrhLiCmiPpDu2hARRuFMvFLwd6dTLQjm+SDPe8nrGw2RsfZzBODBZGSOn lboqOpQyIbcNKf2e5uxhHMk0Dtkp6T5oBHAqzSZAjjAgIEw2i2Kfk3638idZDIMokMPjFRxZuAji RuvZAASs5MJbZNNSNuSmqqfkqnFdsEhQ/5T/bxakYL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