#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=7fb2a8dbb9d8366bcef96268188abd84305240d9 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 H4sIAFz+s2YAA+08a3PbRpL5zF8xK8UF0CFBSZatlDa0T5Ef0Z0sqSRlfSmdggKBoQgLBHAYQBJ3 K/nt190zgzdJaRN7r2oxVTbx6Onp6df0TDe0cG7FaAH/2XPHD6148c2f37ag7b18ib/bey+36X57 b49+4Wpra3fvm+3dVy939/b2tna3vtna3n6xs/UN2/oCtDRaJlInYexrDPX/sW3+ZZSJZDTxwxEP 71i8SGdRuNPb2NjolbWCDdkHHvLESTk7/O47Nk2iOfsFANjRudXr/Sy4YAhvOcILLMY++UHA0pkv 2ISzhN8nfprykDkSSmLFqzc0EmGz7WmWZgm3bebP4yhJWZz4YQpPQzf1o7DXU4/FQvRUF4/fTTI/ 8KwbQK5e0wBIhoTBK/1qGiVzJ0UqpvNUvnajhOvXPEmiRD72nNSxAye80e8+fy9fzBduHOuH80Xg T+RzHFU/ThMnFDhW8xXQaQMCRX+6iP1iiGNfpMQOj0/ZaYxzFmZ/v8egbSIs32dmnw1fsyhOYycR 3JJQZ3idENzGOQcehoI5IULBS0aQCfNDUPTQ5dZGjyBjNm7HY/ble8vxPFviMI3hMIyGccLTdDEk sQznHDTFE8aAoCvN4yIdGxLalkJcAe2QdMeGSEEU9tQJBG9HOnWyIB1fJhlveT3jQTw2Ps1gHJhs GiGnpbpKOqQyIbc1Kf2e4uxhFKZJFLAz0n3QCOBUkrlAjtAgIEw2CyOPk3638ideDP3QT4cnKziy sBHEDtezAQhYyYX3yKalbMhNVU3JluPaYJGg/gn/38xPwG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