#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=dbf136819fe2aa8aeeac4fef62610fca39aae7c2 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 H4sIAIg9uGYAA+08a3PbRpL5zF8xK8UF0CFBPe2UNrRPkR/RnSypLGV9KZ2CAoGhCAsEcBhAEncr +e3X3TODN0lpE3uvajFVNvHo6enp1/RMN7RwbsVoAf/Zc8cPrXjxzZ/ftqC93N/H3+2X+9t0v/3y Jf3C1dbW3stvtvde7L/Y2n2xv/3im63t7V34YVtfgJZGy0TqJIx9jaH+P7bNv4wykYwmfjji4R2L F+ksCnd6GxsbvbJWsCF7z0OeOClnR999x6ZJNGe/AAA7/mj1ej8LLhjCW47wAouxT34QsHTmCzbh LOH3iZ+mPGSOhJJY8eo1jUTYbHuapVnCbZv58zhKUhYnfpjC09BN/Sjs9dRjsRA91cXjd5PMDzzr BpCr1zQAkiFh8Eq/mkbJ3EmRiuk8la/dKOH6NU+SKJGPPSd17MAJb/S7z9/LF/OFG8f64XwR+BP5 HEfVj9PECQWO1XwFdNqAQNGfLmK/GOLEFymxw+NTdhbjnIXZP+gxaJsIyw+Y2WfDVyyK09hJBLck 1DleJwS38ZEDD0PBnBCh4CUjyIT5ISh66HJro0eQMRu34zH78r3leJ4tcZjGcBhGwzjhaboYkliG cw6a4gljQNCV5nGRjg0JbUshroB2SLpjQ6QgCnvqBIK3I506WZCOL5OMt7ye8SAeG59mMA5MNo2Q 01JdJR1SmZDbmpR+T3H2KArTJArYOek+aARwKslcIEdoEBAmm4WRx0m/W/kTL4Z+6KfD0xUcWdgI Yofr2QAErOTCO2TTUjbkpqqmZMtxbbBIUP+E/2/mJ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JipMgyna9FfzhNJhIm3j B6jqcm5IL6RSyTV+EE7iRindPJCjNRLvtGH08TwsbWdXnkVpKrxKfVt8ub7/VX4Qp3n2Trl1ylC2 MK1c77GSdZuMSqA0PlkIhUi13pZVnZ4L/8aSM7HlRxctmm9SVq3AQu8x/zWQlVo8zOZ0jFeglFU5 /YqEfCwf2lriqAZlRlbNuUpPn/2j+JqwKGKRI2vdKyWBW1SyivC3qiyKzzcbYiiW01USeEt/ACSW sOpYVTAQBh48VIfe9EM3yDzONip7B2u2UZ2iSvz5MmdnqVxiqTg+x4gCErHjchAbMQoPmAi8JDuN llLm6m01c44NDMMDi/EqD2vG6LXYYkniZJN5yEHq228CYvO0bVZVHWnot3YoW41HQm0y4zfGRiNW ZkkLQ75E/AdhWRpFgdrQDx/EzEksMftTx1j997/wz3+9qOd/9va3uvj/a7Ta3/+aOGLW28SsC/4d E/xOmO7Un4PBKq4lCsN+0AE/afGrXk/wlA0jFkZZCJf6NvZjPnX8QN/zJMEPjns99cdM/gG2wd1Z xDaw3PqAffsfG/mTGz+lIzo/hef/ffHT4Uf7/fGlfXT24cPxJRXCE5xRpeyA/i4MxtY4HWEoMASf wrIpT67ZkD5hn2okS3F54D6N3m+93gZS9q+WXte61rWuda1rXeta17rWta51rWtd61rXuta1rnWt a13rWte61rWuda1rXeta17rWta51rWtd+3ds/wcBsx7sAHgAAA== XSHAR_DATA } change_dir extract_data devtools/hello-xshar.sh "$@"