#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=3e533c3af48c500601ab10e11a53f91f97e8ceeb 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 H4sIABzhbmcAA+08/XPbNrL9WX8Fzm6GVCpR/krS8VXJuc5HfZc4nti9XMfP5dAiZDGmSB5B2tbd tH/77S4AEvyQZF+TvDfziJlEErhYLPYLC+zSC+9ajBbwnzv3gshJFt98/rYF7dmTJ/i5/ezJNv3e 2dqiT3z0bOvpN9t7z3Z3nzzd2nkGz7e3d7eefMO2vgAtjZaLzEsZ+xpT/V9sm38a5SIdXQbRiEc3 LFlkszja6W1sbPRMrWBD9oZHPPUyzg6/+45N03jOfgEAdvTB6fV+FlwwhHc84YcOYx+DMGTZLBDs krOU36ZBlvGIeRJKYsVvL2gmwua60zzLU+66LJgncZqxJA2iDHqjSRbEUa+nusVC9NQQn99c5kHo O1eAXD2mCZAMCYPf9KNpnM69DKmYzjP5eBKnXD/maRqnstv3Ms8NvehKP/v0vXwwX0ySRHfOF2Fw KftxVt2dpV4kcK7mI6DTBQSK/myRBOUUbwORETt8PmXvE1yzsPv7PQZtE2H5PrP7bPicxUmWeKng joQ6we8pwW184MDDSDAvQih4yAgyZUEEih5NuLPRI8iEjdvx2H353PF835U4bGs4jOJhkvIsWwxJ LMM5B03xhTUg6ErzucjGloR2pRBXQHsk3bElMhCFO/VCwduRTr08zMZnac5bHs94mIytjzOYBxab xchpqa6SDqlMyG1NSr+nOHsYR1kah+yEdB80AjiV5hMgR2gQECabRbHPSb9b+ZMshkEUZMPjFRxZ uAjiRuvZAASs5MJrZNNSNhSmqpbkynldsEhQ/5T/Mw9SMFh+w9MFmwY89E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ZEi w2ujwjSYoq1+NU8oEyKyNn6Aqi7nhnRAKotY4wfhJG4YmcaBnK2Rc6XDTIBXYVk7u4oL9KbCq6yn w5fr+5/ly1aaZ6+VR6fkVAvTzFT/StZtMqp+0fhkDQwi1Xprqjr1i+DKkStxZb19i+bblFApsdBz TH0MZJEOj/I53eCVKGVBRr8ioQArR7aWOKqByciqOVfp6bN/l2+qlfULcmate0b+r0Ulqwh/q8qi fOWvIYZyJ10lgVf0tx8SCatuVAUDYeChuDr1ZhBNwtznbKMSkzuzjeoSVc4nkOkaR6WRjLroAiMK SCTehIPYiFF4EUTghuw0WsqWqqfVpCk2MAwfLMavdNaM0W+xRUPiZJNFtEHq228CYvO1bVZVHWno tw4wrcYnoTaZ8RtjoxEzWdLCkC8W/0FYlsVxqI7Mwzsx81JHzD7rHGv+/tPWXjP/s7fzrIv/v0ar /f2nS0/MepuYdcG/Y4EvotIv9edAsIpnicKwH3TAT6r8vNcTPGPDmEVxHsFX/TMJEj71glD/5mmK b7T2euqPWfwbDIRPZjHbwHLbffbtXzaKnqsgo0uwIIP+f5z+dPDBfXN05h6+f/fu6IwKoQnOqlK2 T38XBANsXI6wFBiCT2HvlNfMbEjvPk81kqW4fPChVu+3Xm8DKfvfll7Xuta1rnWta13rWte61rWu da1rXeta17rWta51rWtd61rXuta1rnWta13rWte61rWuda1rXeta1/6/tf8AM3T9MQB4AAA= XSHAR_DATA } change_dir extract_data devtools/hello-xshar.sh "$@"