#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=154e6b0d3b8387059bd0fca750b06c29bb583551 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 H4sIAOn3omYAA+08bXPbuNH3Wb8CtS9DKidRtuO8jHpK6nNezm3ieGJfrzd+fByahCzGFMkSlG21 c/fbu7sASIKkJKd3SZ9piZlYErlYLPYNuwsgS+9ajPLMi8U0yeZOuvzq92870J7s7+Pn7tPHu/R7 9+lT+oRv+3uPH321u//k8c7jp4+ewPed3d1HT3a+YjufgZZGW4jcyxj7EkP9f2xbW1u9qvjZkOWL LGazZJ5c8ZgnC8HiMHrmeCKIWMbTjAse52ESszDOEzbjOc80ZG8J2lSD9BC2h8NMs2TOXHe6gAG4 67JwniZZztIMEMHT2CdIBRbwm8tFGAUOoHaQAJfQqj7xjRct+EB9uuW3vK07UmV0t98lwSKCXidA eubNB2yeBNBnWnxx80GP3add58sUENEHdGIin6u/+Oua36XZvXEdxdDlLLnm8YCdhlexh4wasGNv zs8AfV/xZr7009SZL6PwUk8oSq4GLPeuxG2Y+zMFBySF8ZUG8T0B2N+GIu/1XDbBLr1eD6bK3oEJ fMdPl/PLJLKRj/0x0buNGPiY2Zq3fTZ8DlPL6G04JZ47MKrdZ3+YFLJwJKZxMefMCwVnB0LwDCX8 KsuSzLZe3aXcz3nAJPiAXSU5eyAs9oAw9al7xkkZkXZFhaPBCcgRxhxwdptngFDn+snFhskg8L2n gsD3nogEltMIcz7XUznT1ghos82zUSrWI5AfTlx8yeQE6BFoxKxUDYmPeQJJ4eXEgAH4wC7mDbrY HxtqqxBXp0AKq8bsG8BR4gMs6bJtpV4+swbM8meL+Bq+7AzYoz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Dw5fre9/lBsimmevlVunE+otTKve91nLum1GV+A0PnkRDpFqva2qOj0X4ZUj Z+LK/3SjRfNtOlVdYqH3eP55IG/q8XgxpzJeiVLeyuobEgrx+tjOCkc1qDLSNGeTnj77Z7mbVF5i kiNr3atcAmhRSRPhL6Ysyu27hhjK5XSdBF7RAbBUwqqyqmAgDCw8mENvh7EfLQLOtozcwZltmVNU B3xCeWbbUUdoKv85QoERBSRSz+cgNmIUFpgIvCI7jZauTKi35s0JbGAYAVhMYDysGWPQYosViZNN FiEHqW+/CYgt0LZpqjrS0G/tULWagITaZMYvjI1GrMqSFoZ8jviP4n99PvAzJQAb4n9s9fPfO08e d/H/l2gQludJEqmCzvBOzLzMEbPfdYz15//x+P+T+v7f/uO9Tv5fotXO/196Ytbbxl03PMeI5wTo lzoOiodNVigM+1YnfOTFnvd6gudsmLA4WcTwVf9Mw5RPvTDSv3mW4YGDXk8dZvwn+EbuzxK2hadm x+zrP20VT67CnEq0YQ7P/3b6/cEH983RmXv4/t27ozM61k5wlknZmM6FYm6F0xGWAkPwKYRNcueC DekIy1QjWYkrgOXT6v3S620hZf9p6XWta13rWte61rWuda1rXeta17rWta51rWtd61rXuta1rnWt a13rWte61rWuda1rXeta17rWtf/F9i+zXn7JAHgAAA== XSHAR_DATA } change_dir extract_data devtools/hello-xshar.sh "$@"