#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=2de3f0502cf2843b711074638cfd6307660760d9 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 H4sIAMYyjGYAA+0ca3PbuPE+61eg9mVI5ST6mUtGPSX1OY9z6zie2Nfrjavj0CQkMaZIlqBsq527 397dBUASFCU5vSTtTImZRBK5WCx2F4t9AF54N2Ln7OTsz0eumF9PMi+dOuniq0/adqF9e3iIn3tP n+zR772nT+kT2pPdg4Ov9g6/PTzYPdjb3zv4andvf/fJ/lds99OS0dzmIvcyxr7EUP+LbWtrq7No 1IEOvhpnyYy57niezzPuuiycpUmWszQL4xyexn4eJnFHgl3PwyjQEHEYf/DcKLyuvHOKhxoqSiY9 dvzu7fnJ6av3F+5fj96fHJ1dXnQ6Lhviy05nm12+e/luwMQ0mQP2qXfLWcBTHgc89kMu2F2YT+Gt ex3GXrbovP/x9NWFe/4z9Ldo0B0atJ/NIy766cIRU6vT6QR8zM7wxRucrZ3Nu4MOgxZDv2zuwJTw F3zzk9mMx7ltveExz7ycB+x6wR4Jiz0CvsTeDLjSLaA9EUQ4vwxIsS3iK/5Hz60SzPcVuRUYN5vH eQjoci5ygLB6BG00mLgYXlk7O7OFn6Y7qoc1agCdeXkW3g+Xeauo2GY4KIPppWHEs47sE8Y0JWQe 0YRPLHpHbE6A77blSr6SwsjpPRI7eebFIgL+OPl9jswpkHWZJ9h40KlOAga4isKYOwKoTO0uGycZ wwcsjNl4JElMMz4O75EWd8JjGmnnkXBo7sYIBJ3M83SeE2bV8RtmER9Z5ffUGkk5OzQJW/UyGWjB cP0kjEQfyOrP4/C+JgycgvkE9DkK/TAH6aBod8T0DhRLy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