#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=e2fa6636f230e0a62aaa6c921a8b4b66f72c03a0 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 H4sIAGqqd2YAA+08a3PbRpL5zF8xK8UF0CFBvey4uKF9ivyI7mxZZSnrS+kUFAQMRVgggMOAkrhb yW+/7p4HniTlTeytq8VU2SKBnp6efk13zwyX3o0YLeE/d+6FsZMuv/nz2w607588ob/Qan93d3YO vv9m9+Dp/pPv957sHADc7v7O9zvfsJ0vQEujLUTuZYx9kyVJvg5u0/v/p237L6OFyEZXYTzi8S1L l/ksifd6W1tbvbJWsCF7w2OeeTlnR999x6ZZMme/AAA7/uD0ej8LLhjCO54IIoexj2EUsXwWCnbF WcbvsjDPecw8CSWx4qcXNBJhc93pIl9k3HVZOE+TLGdpFsY5PI39PEziXk89FkvRU10Cfnu1CKPA uQbk6jUNgGRIGPykX02TbO7lSMV0nsvXfpJx/ZpnWZLJx4GXe27kxdf63adn8sV86aepfjhfRuGV fI6j6sd55sUCx2q+AjpdQKDoz5dpWAzxNhQ5sSPgU/Y+xTkLuz/uMWjbCMvHzO6z4XOWpHnqZYI7 EuoUP2cEt/WBAw9jwbwYoeAlI8iMhTEoeuxzZ6tHkCmbtOOx+/K94wWBK3HY1nAYJ8M043m+HJJY hnMOmhIIa0DQlRZwkU8sCe1KIa6B9ki6E0vkIAp36kWCtyOdeoson5xnC97yesajdGJ9nME4MNk8 QU5LdZV0SGVCbmtS+j3F2aMkzrMkYqek+6ARwKls4QM5QoOAMNksTgJO+t3Kn3Q5DOMwH56s4cjS RRA33swGIGAtF14jm1aywZiqmpIrx3XBIkH9M/6/izADg+W3P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