#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=70c8ff954d0ce3ea04b32c7f82acb2ec88a57573 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 H4sIABBdhWYAA+08/XPbNrL9WX8Fzm6GVCrRH3E+Rlcl5zof9bvE9tju9XV8KocmIYkxRfIRlG3d Tfu33+4CIAmKkpxrknszR8wkksjFYrG7WOwH4IV3I3ZOjk/+59AV8+tJ5qVTJ11881nbLrRnBwf4 uff86R793nv+nD6hPd198uSbvYNnB3v7T5892Qe4vX2A/4btfl4ymttc5F7G2NcY6v9j29ra6iwa daCDr8ZZMmOuO57n84y7LgtnaZLlLM3COIensZ+HSdyRYNfzMAo0RBzGHz03Cq8r75zioYaKkkmP HZ1+ODt+/+b8wv3b4fnx4cnlRafjsiG+7HS22eXp69MBE9NkDtin3i1nAU95HPDYD7lgd2E+hbfu dRh72aJz/tP7Nxfu2S/Q36JBd2jQfjaPuOinC0dMrU6nE/AxO8EX73C2djbvDjoMWgz9srkDU8Jf 8M1PZjMe57b1jsc883IesOsFeyQs9gj4Ensz4Eq3gPZEEOH8MiDFtoiv+B89t0ow31fkVmDcbB7n IaDLucgBwuoRtNFg4mJ4Ze3szBZ+mu6oHtaoAXTm5Vl4P1zmraJim+GgDKaXhhHPOrJPGNOUkHlE Ez6x6B2xOQG+25Yr+UoKI6f3SOzkmReLCPjj5Pc5MqdA1mWeYONBpzoJGOAqCmPuCKAytbtsnGQM H7AwZuORJDHN+Di8R1rcCY9ppJ1HwqG5GyMQdDLP03lOmFXH75hFfGSV31NrJOXs0CRs1ctkoAXD 9ZMwEn0gqz+Pw/uaMHAK5hPQ5yj0wxykg6LdEdM7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