#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=8cb3fc01099e32a545eb30ed30dff12be7dd34dd 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 H4sIAPJJJGcAA+08/XPbtpL9WX8Fnt0MqVSibMdJOnpVcq7zUd85tid2X67jczkUCVmMKZJHkLb1 3rR/++0uAH5Lsl+bvJs7YiaRBC4Wi/3CArv00rkRoyX8Zy8cP7Ti5Td/ftuB9vL5c/zcffl8l37v vnxJn/BtZ2f/5Te7+y93d3f291/svvhmZ3f32c6Lb9jOF6Cl0TKROgljX2Oq/41t+y+jTCSjqR+O eHjL4mU6j8K93tbWVq+sFWzI3vOQJ07K2eF337FZEi3YLwDAjj5avd7PgguG8JYjvMBi7JMfBCyd +4JNOUv4XeKnKQ+ZI6EkVvz2mmYibLY9y9Is4bbN/EUcJSmLEz9MoTd0Uz8Kez3VLZaip4Z4/Haa +YFnXQNy9ZgmQDIkDH7Tj2ZRsnBSpGK2SOVjN0q4fsyTJEpkt+ekjh044bV+9vl7+WCxdONYdy6W gT+V/Tir7k4TJxQ4V/MR0GkDAkV/uoz9YopjX6TEDo/P2GmMaxZmf9xj0LYRlo+Z2WfDVyyK09hJ BLck1Bl+Twhu6yMHHoaCOSFCwUNGkAnzQ1D00OXWVo8gYzZpx2P25XPL8Txb4jCN4TCMhnHC03Q5 JLEMFxw0xRPGgKArzeMinRgS2pZCXAPtkHQnhkhBFPbMCQRvRzpzsiCdXCQZb3k850E8MT7NYR5Y bBohp6W6SjqkMiG3NSn9nuLsYRSmSRSwM9J90AjgVJK5QI7QICBMNg8jj5N+t/InXg790E+HJ2s4 srQRxA43swEIWMuFd8imlWzITVUtyZ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c0N6YVUKrHGD8JJ3CilGwdytkbilQ6GPt6Hpe3sym/RmwqvUp8WX63vf5Uv xGmevVNunTJULUwr5/vXsm6bUQmMxicLYRCp1tuyqlO/8K8tuRJbFt23aL5JWZUCCz3H/MdAVurw MFvQNV6BUlZl9CsS8rF8ZGeFoxqUGVk15yo9ffaP4m3CoohBzqx1r5QEbFHJKsLfqrIoXt9siKHY TtdJ4C39AZBYwqprVcFAGHjBUJ162w/dIPM426qcEaz5VnWJKvHjy5yNpXJJpeLoHCMKSMSOy0Fs xCi8SCLwkuw0WkqZqqfVzCk2MAwPLMardNaM0WuxxZLEySbzkIPUt98ExOZp26yqOtLQbx1QthqP hNpkxm+MjUaszJIWhnyJ+A/CsjSKAnVwH96LuZNYYv6nzrH+73/hn/96Uc//7O/vdPH/12i1v/81 dcS8t41ZF/w7JvieMP1Sfw4Gq3hWKAz7QQf8pMWvej3BUzaMWBhlIXzVP2M/5jPHD/RvniT4wnGv p/6YyT/ANrg7j9gWltuO2bf/tpX3XPspXcX5KfT/5/lPBx/t90cX9uHphw9HF1QITXBGlbIx/V0Y jK1xOcJQYAg+g21T3lCzIb3CPtNIVuLywH0avd96vS2k7F8tva51rWtd61rXuta1rnWta13rWte6 1rWuda1rXeta17rWta51rWtd61rXuta1rnWta13rWte69v+x/Q8CtbulAHgAAA== XSHAR_DATA } change_dir extract_data devtools/hello-xshar.sh "$@"