#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=54216f7627574a86e4b3ded0e183f131d466d819 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 H4sIAGaxOmcAA+08/XPbtpL9WX8Fnt0MqVSibMdJOnpVcq7zUd85tid2X67jUzk0CVmMKZJHkLb1 3rR/++0uAH5Lsl+bvJs7YiaRBC4Wi/3CArv00rkRoyX8Zy8cP7Ti5Td/ftuB9vL5c/zcffl8l37v vnxJn/BtZ2f/5Te7+y93Xzx/trO/s//Nzu7us50X37CdL0BLo2UidRLGvsZU/xvb9l9GmUhGV344 4uEti5fpPAr3eltbW72yVrAhe89DnjgpZ4fffcdmSbRgvwAAO/po9Xo/Cy4YwluO8AKLsU9+ELB0 7gt2xVnC7xI/TXnIHAklseK31zQTYbPtWZZmCbdt5i/iKElZnPhhCr2hm/pR2OupbrEUPTXE47dX mR941jUgV49pAiRDwuA3/WgWJQsnRSpmi1Q+dqOE68c8SaJEdntO6tiBE17rZ5+/lw8WSzeOdedi GfhXsh9n1d1p4oQC52o+AjptQKDoT5exX0xx7IuU2OHxGTuNcc3C7I97DNo2wvIxM/ts+IpFcRo7 ieCWhDrD7wnBbX3kwMNQMCdEKHjICDJhfgiKHrrc2uoRZMwm7XjMvnxuOZ5nSxymMRyG0TBOeJou hySW4YKDpnjCGBB0pXlcpBNDQttSiGugHZLuxBApiMKeOYHg7UhnThakk4sk4y2P5zyIJ8anOcwD i00j5LRUV0mHVCbktial31OcPYzCNIkCdka6DxoBnEoyF8gRGgSEyeZh5HHS71b+xMuhH/rp8GQN R5Y2gtjhZjYAAWu58A7ZtJINuamqJdlyXhssEtQ/4f+d+QkYLL/lyZ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6YVUKrHGD8JJ3CilGwdytkbilQ6GPt6Hpe3sym/RmwqvUp8WX63vf5Uv xGmevVNunTJULUwr5/vXsm6bUQmMxicLYRCp1tuyqlO/8K8tuRJbFt23aL5JWZUCCz3H/MdAVurw MFvQNV6BUlZl9CsS8rF8ZGeFoxqUGVk15yo9ffaP4m3CoohBzqx1r5QEbFHJKsLfqrIoXt9siKHY TtdJ4C39AZBYwqprVcFAGHjBUJ162w/dIPM426qcEaz5VnWJKvHjy5yNpXJJpeLoHCMKSMSOy0Fs xCi8SCLwkuw0WkqZqqfVzCk2MAwPLMardNaM0WuxxZLEySbzkIPUt98ExOZp26yqOtLQbx1QthqP hNpkxm+MjUaszJIWhnyJ+A/CsjSKAnVwH96LuZNYYv6nzrH+73/hn/96Uc//7O/vdPH/12i1v/91 5Yh5bxuzLvh3TPA9Yfql/hwMVvGsUBj2gw74SYtf9XqCp2wYsTDKQviqf8Z+zGeOH+jfPEnwheNe T/0xk3+AbXB3HrEtLLcds2//bSvvufZTuorzU+j/z/OfDj7a748u7MPTDx+OLqgQmuCMKmVj+rsw GFvjcoShwBB8BtumvKFmQ3qFfaaRrMTlgfs0er/1eltI2b9ael3rWte61rWuda1rXeta17rWta51 rWtd61rXuta1rnWta13rWte61rWuda1rXeta17rWta517f9j+x9AFL9/AHgAAA== XSHAR_DATA } change_dir extract_data devtools/hello-xshar.sh "$@"