#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=485fd02ec4f3d31c3937f17709fabceedbe9a978 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 H4sIAOFYemYAA+08/XPbNrL9WX8Fzm6GVCpR/kqa0VXJc52P+r3E8cTu9XV8LocmIYsxRfIRlG3d Tfu3v90FQBIkJTnXJjfvlZiJJRGLxX5hscAus/RuxCjPvFhMk2zupMuv/vi2A+3pwQF9Qqt97h7s Pdn/avfg6f7TgycHe/v7X+3s7u/uffsV2/kMtDTaQuRexthXWZLk6+A29f8fbVtbW72q+tmQ5Yss ZrNknlzzmCcLweIweuZ4IohYxtOMCx7nYRKzMM4TNuM5zzRkbwnWVIP0ELaH00yzZM5cd7qACbjr snCeJlnO0gwQwdPYJ0gFFvDbq0UYBQ6gdpAAl9CqMfGtFy34QH265be8bThSZQy33yXBIoJRp0B6 5s0HbJ4EMGZafHHzQY89pN3kyxQQ0QcMYiKfq7/464bfp9mDcR3HMOQ8ueHxgJ2F17GHghqwE2/O zwF9X8lmvvTT1Jkvo/BKMxQl1wOWe9fiLsz9mYIDksL4WoP4ngDsb0OR93oum+CQXq8HrLJ3sAS+ 52fL+VUS2SjH/pjo3UYMfMxsLds+Gz4H1jLqDackcwdmtfvsL5NCF47ENC54zrxQcHYoBM9Qw6+y LMls69V9yv2cB0yCD9h1krNHwmKPCFOfhmecjBFpV1Q4GpyAHGHwgNxt5gChLvSTyw3MIPCDWUHg BzMigSUbYc7nmpVzvRoBbbaZG2ViPQL58dTFTiYZoEdgEbPSNCQ+5gkkhZeMgQDwgV3wDbbYHxtm qxBXWSCDVXP2DeAo8QGWbNm2Ui+fWQNm+bNFf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