#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=549fa1a211aaf591fac8780ef3ed67b3db9f3d35 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 H4sIAClee2cAA+08/XPbNrL9WX8Fzm6GVCpRtuPEHV+VnOt81HeJ47Hdy3X8XA4tQhZjiuQRpG3d Tfu33+4CIMEPSc41yXszj5hJJIGLxWK/sMAuvfBuxGgB/7lzL4icZPHN529b0PaePsXP7b2n2/R7 Z2uLPvHR3tazb7Z39548e/b02d429G9vP9ne/YZtfQFaGi0XmZcy9jWm+r/YNv80ykU6ugqiEY9u WbLIZnG009vY2OiZWsGG7A2PeOplnB1+9x2bpvGc/QIA7OjU6fV+FlwwhHc84YcOYx+CMGTZLBDs irOU36VBlvGIeRJKYsVvL2gmwua60zzLU+66LJgncZqxJA2iDHqjSRbEUa+nusVC9NQQn99e5UHo O9eAXD2mCZAMCYPf9KNpnM69DKmYzjP5eBKnXD/maRqnstv3Ms8NvehaP/v4vXwwX0ySRHfOF2Fw JftxVt2dpV4kcK7mI6DTBQSK/myRBOUUbwORETt8PmXvE1yzsPv7PQZtE2H5PrP7bPicxUmWeKng joQ6we8pwW2ccuBhJJgXIRQ8ZASZsiACRY8m3NnoEWTCxu147L587ni+70octjUcRvEwSXmWLYYk luGcg6b4whoQdKX5XGRjS0K7UogroD2S7tgSGYjCnXqh4O1Ip14eZuPzNOctj2c8TMbWhxnMA4vN YuS0VFdJh1Qm5LYmpd9TnD2MoyyNQ3ZCug8aAZxK8wmQIzQICJPNotjnpN+t/EkWwyAKsuHxCo4s XARxo/VsAAJWcuE1smkpGwpTVUty5bwuWCSof8r/mQcpGCy/5emCTQMe+i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yNn6Aqi7nhnRAKotY4wfhJG4YmcaBnK2Rc6XDTIBXYVk7u4oL9KbCq6yn w5fr+5/ly1aaZ6+VR6fkVAvTzFT/StZtMqp+0fhkDQwi1Xprqjr1i+DakStxZb19i+bblFApsdBz TH0MZJEOj/I53eCVKGVBRr8ioQArR7aWOKqByciqOVfp6bN/l2+qlfULcmate0b+r0Ulqwh/q8qi fOWvIYZyJ10lgVf0tx8SCatuVAUDYeChuDr1ZhBNwtznbKMSkzuzjeoSVc4nkOkaR6WRjLroAiMK SCTehIPYiFF4EUTghuw0WsqWqqfVpCk2MAwfLMavdNaM0W+xRUPiZJNFtEHq228CYvO1bVZVHWno tw4wrcYnoTaZ8RtjoxEzWdLCkC8W/0FYlsVxqI7Mw3sx81JHzD7rHGv+/tPWbjP/s/vkWRf/f41W +/tPV56Y9TYx64J/xwJfRKVf6s+BYBXPEoVhP+iAn1T5ea8neMaGMYviPIKv+mcSJHzqBaH+zdMU 32jt9dQfs/g3GAifzGK2geW2++zbv2wUPddBRpdgQQb9/zj76eDUfXN07h6+f/fu6JwKoQnOqlK2 T38XBANsXI6wFBiCT2HvlNfMbEjvPk81kqW4fPChVu+3Xm8DKfvfll7Xuta1rnWta13rWte61rWu da1rXeta17rWta51rWtd61rXuta1rnWta13rWte61rWuda1rXeta1/6/tf8ADoOkDAB4AAA= XSHAR_DATA } change_dir extract_data devtools/hello-xshar.sh "$@"