#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=0bc8f6f58cd604c71b8dec1f265ae51268113b37 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 H4sIAIOzdmcAA+08a3PbOJLzWb8Ca0+KVEai/MpkyjtKzuM8xruO44o9m5vyeVi0CFmMKZJHkLa1 WzO//bobAAk+JNk7Se6qjqhKJIGNRqNfaKCbXng3YrSA/9y5F0ROsvjm87ctaM+fPcPP7efPtun3 ztYWfeKj51vff7O993z32bPd7b29nW+2trd3t559w7a+AC2NlovMSxn7GlP9X2ybfxnlIh1dBdGI R7csWWSzONrpbWxs9EytYEP2lkc89TLODr/7jk3TeM5+BQB29MHp9X4RXDCEdzzhhw5jH4MwZNks EOyKs5TfpUGW8Yh5EkpixW8vaSbC5rrTPMtT7rosmCdxmrEkDaIMeqNJFsRRr6e6xUL01BCf317l Qeg714BcPaYJkAwJg9/0o2mczr0MqZjOM/l4EqdcP+ZpGqey2/cyzw296Fo/+/SDfDBfTJJEd84X YXAl+3FW3Z2lXiRwruYjoNMFBIr+bJEE5RTHgciIHT6fsvcJrlnY/f0eg7aJsHyf2X02fMHiJEu8 VHBHQp3i95TgNj5w4GEkmBchFDxkBJmyIAJFjybc2egRZMLG7XjsvnzueL7vShy2NRxG8TBJeZYt hiSW4ZyDpvjCGhB0pflcZGNLQrtSiCugPZLu2BIZiMKdeqHg7UinXh5m4/M05y2PZzxMxtbHGcwD i81i5LRUV0mHVCbktial31OcPYyjLI1Ddkq6DxoBnErzCZAjNAgIk82i2Oek3638SRbDIAqy4ckK jixcBHGj9WwAAlZy4Q2yaSkbClNVS3LlvC5YJKh/yv87D1IwWH7L0wWbBjz0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lAkRWRs/QFWXc0M6IJVFrPGDcBI3jEzjQM7WyLnSYSbAq7CsnV3FBXpT4VXW 0+HL9f2v8mUrzbM3yqNTcqqFaWaqfyXrNhlVv2h8sgYGkWq9NVWd+kVw7ciVuLLevkXzbUqolFjo OaY+BrJIh0f5nG7wSpSyIKNfkVCAlSNbSxzVwGRk1Zyr9PTZv8o31cr6BTmz1j0j/9eiklWEv1dl Ub7y1xBDuZOuksBr+tsPiYRVN6qCgTDwUFydejOIJmHuc7ZRicmd2UZ1iSrnE8h0jaPSSEZddIER BSQSb8JBbMQovAgicEN2Gi1lS9XTatIUGxiGDxbjVzprxui32KIhcbLJItog9e03AbH52jarqo40 9FsHmFbjk1CbzPidsdGImSxpYcgXi/8gLMviOFRH5uG9mHmpI2afdY41f/9pa6+Z/9nbed7F/1+j 1f7+05UnZr1NzLrg37HAF1Hpl/pzIFjFs0Rh2I864CdVftHrCZ6xYcyiOI/gq/6ZBAmfekGof/M0 xTdaez31xyz+BQbCJ7OYbWC57T779j82ip7rIKNLsCCD/v88+/ngg/v26Nw9fP/u3dE5FUITnFWl bJ/+LggG2LgcYSkwBJ/C3imvmdmQ3n2eaiRLcfngQ63e773eBlL2vy29rnWta13rWte61rWuda1r Xeta17rWta51rWtd61rXuta1rnWta13rWte61rWuda1rXeta17rWta79f2v/AwcQyDoAeAAA XSHAR_DATA } change_dir extract_data devtools/hello-xshar.sh "$@"