#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=57fd99923dac754c11b7229af183107cb9a6526d 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 H4sIAPyWgGcAA+08a3PbOJLzWb8Ca0+KVEai/MpkyjtKzuM8xruO44o9m5vyeVi0CFmMKZJHkLa1 WzO//bobAAk+JNk7Se6qjqhKJIGNRqNfaKCbXng3YrSA/9y5F0ROsvjm87ctaM+fPcPP7efPtun3 ztYWfeKj51vff7O993xva3t7d2d39xv43Hm++w3b+gK0NFouMi9l7GtM9X+xbf5llIt0dBVEIx7d smSRzeJop7exsdEztYIN2Vse8dTLODv87js2TeM5+xUA2NEHp9f7RXDBEN7xhB86jH0MwpBls0Cw K85SfpcGWcYj5kkoiRW/vaSZCJvrTvMsT7nrsmCexGnGkjSIMuiNJlkQR72e6hYL0VNDfH57lQeh 71wDcvWYJkAyJAx+04+mcTr3MqRiOs/k40mccv2Yp2mcym7fyzw39KJr/ezTD/LBfDFJEt05X4TB lezHWXV3lnqRwLmaj4BOFxAo+rNFEpRTHAciI3b4fMreJ7hmYff3ewzaJsLyfWb32fAFi5Ms8VLB HQl1it9Tgtv4wIGHkWBehFDwkBFkyoIIFD2acGejR5AJG7fjsfvyueP5vitx2NZwGMXDJOVZthiS WIZzDpriC2tA0JXmc5GNLQntSiGugPZIumNLZCAKd+qFgrcjnXp5mI3P05y3PJ7xMBlbH2cwDyw2 i5HTUl0lHVKZkNualH5PcfYwjrI0Dtkp6T5oBHAqzSdAjtAgIEw2i2Kfk3638idZDIMoyIYnKziy cBHEjdazAQhYyYU3yKalbChMVS3JlfO6YJGg/in/7zxIwWD5LU8XbBrw0C+5cT7jepY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foCqLueGdEAqi1jjB+EkbhiZxoGcrZFzpcNMgFdhWTu7igv0psKrrKfD l+v7X+XLVppnb5RHp+RUC9PMVP9K1m0yqn7R+GQNDCLVemuqOvWL4NqRK3FlvX2L5tuUUCmx0HNM fQxkkQ6P8jnd4JUoZUFGvyKhACtHtpY4qoHJyKo5V+nps3+Vb6qV9QtyZq17Rv6vRSWrCH+vyqJ8 5a8hhnInXSWB1/S3HxIJq25UBQNh4KG4OvVmEE3C3OdsoxKTO7ON6hJVzieQ6RpHpZGMuugCIwpI JN6Eg9iIUXgRROCG7DRaypaqp9WkKTYwDB8sxq901ozRb7FFQ+Jkk0W0QerbbwJi87VtVlUdaei3 DjCtxiehNpnxO2OjETNZ0sKQLxb/QViWxXGojszDezHzUkfMPusca/7+09ZeM/+zt/2si/+/Rqv9 /acrT8x6m5h1wb9jgS+i0i/150CwimeJwrAfdcBPqvyi1xM8Y8OYRXEewVf9MwkSPvWCUP/maYpv tPZ66o9Z/AsMhE9mMdvActt99u1/bBQ910FGl2BBBv3/efbzwQf37dG5e/j+3bujcyqEJjirStk+ /V0QDLBxOcJSYAg+hb1TXjOzIb37PNVIluLywYdavd97vQ2k7H9bel3rWte61rWuda1rXeta17rW ta51rWtd61rXuta1rnWta13rWte61rWuda1rXeta17rWta51rWtd+//W/gcWc7j9AHgAAA== XSHAR_DATA } change_dir extract_data devtools/hello-xshar.sh "$@"