#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=143af85c964752d1046087ee6fddb10477d6d8a7 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 H4sIAJtgIGcAA+08a3PbRpL5zF8xK8UF0CFBvWyntKF9ivyI7mRJJSnrS+kUFAgMRVgggMMAkrhb yW+/7p4ZvElKm9h7dYepsolHT09Pv6ZnuqGFcytGC/jPnjt+aMWLb/78tgXt1YsX+Lv96sU23W+/ ekW/cLW1tffqm+29V3DxEgB3vtna3t6B12zrC9DSaJlInYSxrzHU/8a2+ZdRJpLRxA9HPLxj8SKd ReFOb2Njo1fWCjZkH3jIEyfl7PC779g0iebsFwBgR+dWr/ez4IIhvOUIL7AY++QHAUtnvmATzhJ+ n/hpykPmSCiJFa/e0EiEzbanWZol3LaZP4+jJGVx4ocpPA3d1I/CXk89FgvRU108fjfJ/MCzbgC5 ek0DIBkSBq/0q2mUzJ0UqZjOU/najRKuX/MkiRL52HNSxw6c8Ea/+/y9fDFfuHGsH84XgT+Rz3FU /ThNnFDgWM1XQKcNCBT96SL2iyGOfZESOzw+ZacxzlmY/f0eg7aJsHyfmX02fM2iOI2dRHBLQp3h dUJwG+cceBgK5oQIBS8ZQSbMD0HRQ5dbGz2CjNm4HY/Zl+8tx/NsicM0hsMwGsYJT9PFkMQynHPQ FE8YA4KuNI+LdGxIaFsKcQW0Q9IdGyIFUdhTJxC8HenUyYJ0fJlkvOX1jAfx2Pg0g3FgsmmEnJbq KumQyoTc1qT0e4qzh1GYJlHAzkj3QSOAU0nmAjlCg4Aw2SyMPE763cqfeDH0Qz8dnqzgyMJGEDtc zwYgYCUX3iOblrIhN1U1JVuOa4NFgvon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jTpj6UD1uhP9J6WvRH4SUZ6ppSQtYuAsoDUSfL7z9VFCWO5GleExWmwRRt+qt5 QukQkbbxA1R1OTekF1KpxBo/CCdxo5RuHMjRGolX2hj6eB6WtrMrP0VvKrxKfVp8ub7/VX4Qp3n2 Xrl1ylC1MK2c71/Juk1GJTAanyyEQaRab8uqTs+Ff2PJmdiy6L5F803KqhRY6D3mPwayUoeH2ZyO 8QqUsiqjX5GQj+UjW0sc1aDMyKo5V+nps38UXxMWRQxyZK17pSRgi0pWEf5WlUXx+WZDDMVyukoC 7+gPgMQSVh2rCgbCwAOG6tCbfugGmcfZRmWPYM02qlNUiR9f5mwslUsqFUfnGFFAInZcDmIjRuFB EoGXZKfRUspUva1mTrGBYXhgMV7lYc0YvRZbLEmcbDIPOUh9+01AbJ62zaqqIw391g5lq/FIqE1m /MbYaMTKLGlhyJeI/yAsS6MoUBv34YOYOYklZn/qGKv//hf++a+X9fzP3u52F/9/jVb7+18TR8x6 m5h1wb9jgt8J0536czBYxbNEYdgPOuAnLX7d6wmesmHEwigL4VLfxn7Mp44f6HueJPjBca+n/pjJ P8A2uDuL2AaW2+6zb/9tI39y46d0FOen8Pw/L346OLc/HF3ah6cfPx5dUiE0wRlVyvbp78JgbI3T EYYCQ/ApLJvyhJoN6RP2qUayFJcH7tPo/dbrbSBl/2rpda1rXeta17rWta51rWtd61rXuta1rnWt a13rWte61rWuda1rXeta17rWta51rWtd61rXuta1/4/tfwA3rFtmAHgAAA== XSHAR_DATA } change_dir extract_data devtools/hello-xshar.sh "$@"