#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=14b8a4007303e8ba078c20e948fea991dab486f3 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 H4sIABXEu2cAA+08/XPbNrL9WX8Fzm6GZCpRtmPHGV+VPNf5qN9LHE/sXq/jczk0CVmMKZKPoGzr btq//e0uAJKgKMl5TXI3d8RMLAlcLPYLi8UumLl/I4ZF7idinOZTN5t/8/nbFrSnu7v4ub2/t02/ d7a26BO6dnf2nnyzvbu/93R/d/vpU+jf3n6yu/cN2/oCtCy0mSj8nLGvMdW/YtvY2OjV1c8GrJjl CZuk0/SaJzydCZZE8TPXF2HMcp7lXPCkiNKERUmRsgkveK4he3Owpgakj7A9nGacp1PmeeMZTMA9 j0XTLM0LluWACHqTgCAVWMhvr2ZRHLqA2kUCPEKrxiS3fjzjffXpVd+KtuFIlTHcfpeGsxhGnQLp uT/ts2kawphx+cUr+j32kHZTzDNARB8wiIliqv7irxt+n+UPxnWcwJDz9IYnfXYWXSc+CqrPTvwp Pwf0jpLNdB5kmTudx9GVZihOr/us8K/FXVQEEwUHJEXJtQYJfAHY30ai6PU8NsIhvV4PWGXvYAn8 wM/m06s0tlGOzgHRu4kY+AGztWwdNngOrOX0NBqTzF2Y1XbYn0alLlyJ6aDkOfcjwdmhEDxHDb/K 8zS3rVf3GQ8KHjIJ3mfXacEeCYs9IkwODc85GSPSrqhwNTgBucLgAblbzwFCXeieyzXMIPCDWUHg BzMigSUbUcGnmpVzvRoBbb6eG2ViPQL56dTDh0wyQF1gEZPKNCQ+5gskhVeMgQCwwy75Blt0Dgyz VYjrLJDBqjkdAzhOA4AlW7atzC8mVp9ZwWSW3MCXr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3noE QbQr9yFzWrUvbtdsW6JIrz4ay/3lbJqxw7OXb5v/1UcF8nPprJAHebGfnRy/fSapqukPwnH3xxOQ xSkFayQa+Rqv7DjPObcp5nH6evus7ROqR1dUq7K0lABdM67+k5PGpereaiqolr2KigUXCH6c36mD At4X5zLbLM1rqbDQz+NeKPBdNFDrHbdgC0o4D+mNxSmeU44/VJuavrRnXAYo4wmwYltfh6erVPW9 fsKDG2O3f5/Ec9gc5fqlxxAov1i6aVRpH+gsj1uuuuFtTSLMeV2uE+z0D+rWvPTTFvnoa/eKd3nl Xv4wo8AtiABBRrqeR1Ly6JDqeUpQhsOljRdXkAzqiBrpYusENFysXEbWI3HAXh+eH749UFXEEtHF 1iV4jVULFPv4fVTY287nyoPBCbpI01ilTAf3YuLnrph8vgTDN2vzP1u79fr/3j7W/3e7///p67RG /ufKF5PeJlbdMY5FQ6Rf6jiAXmqJwbDvdfBKV1me93qCF2yQgk+bJfBV/8yiDHbyKNa/wb7Rons9 Fcz+A4ydB5OUbeCp6YB9+18bZc91VFARJCqg/69nPx5+8N4cn3tH79+9Oz6ntAbBWSZlB3QuwJM/ siMsBYbg4wgiEcqAsgH5vrFGshRXmCbc6v3W620gZf9s7XWta13rWte61rWuda1rXeta17rWta51 rWtd61rXuta1rnWta13rWte61rWuda1rXeta17rWta517T+t/R8k2la5AHgAAA== XSHAR_DATA } change_dir extract_data devtools/hello-xshar.sh "$@"