#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=67260d1914e5ac168e298f6c45b1e1bd9b7455dd 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 H4sIAJI+oWYAA+08bXPbuNH3Wb8CtS9DKidRtuO8jHpK6nNezm3ieGJfrzd+fByahCzGFMkSlG21 c/fbu7sASIKkJKd3SZ9piZlYErlYLPYNuwsgS+9ajPLMi8U0yeZOuvzq92870J7s7+Pn7tPHu/R7 9+lT+oRv+3uPH321u//k8c7eo6e7e0++2tndffR45yu28xloabSFyL2MsS8x1P/HtrW11auKnw1Z vshiNkvmyRWPebIQLA6jZ44ngohlPM244HEeJjEL4zxhM57zTEP2lqBNNUgPYXs4zDRL5sx1pwsY gLsuC+dpkuUszQARPI19glRgAb+5XIRR4ABqBwlwCa3qE9940YIP1KdbfsvbuiNVRnf7XRIsIuh1 AqRn3nzA5kkAfabFFzcf9Nh92nW+TAERfUAnJvK5+ou/rvldmt0b11EMXc6Sax4P2Gl4FXvIqAE7 9ub8DND3FW/mSz9NnfkyCi/1hKLkasBy70rchrk/U3BAUhhfaRDfE4D9bSjyXs9lE+zS6/Vgquwd mMB3/HQ5v0wiG/nYHxO924iBj5mtedtnw+cwtYzehlPiuQOj2n32h0khC0diGhdzzrxQcHYgBM9Q wq+yLMls69Vdyv2cB0yCD9hVkrMHwmIPCFOfumeclBFpV1Q4GpyAHGHMAWe3eQYIda6fXGyYDALf eyoIfO+JSGA5jTDncz2VM22NgDbbPBulYj0C+eHExZdMToAegUbMStWQ+JgnkBReTgwYgA/sYt6g i/2xobYKcXUKpLBqzL4BHCU+wJIu21bq5TNrwCx/toiv4cvOgD3q43zO3r98b3RT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IpsKrqw8OX63vf5QbIppnr5VbpxPqLUyr3vdZy7ptRlfgND55EQ6Rar2tqjo9F+GV I2fiyv90o0XzbTpVXWKh93j+eSBv6vF4MacyXolS3srqGxIK8frYzgpHNagy0jRnk54++2e5m1Re YpIja92rXAJoUUkT4S+mLMrtu4YYyuV0nQRe0QGwVMKqsqpgIAwsPJhDb4exHy0CzraM3MGZbZlT VAd8Qnlm21FHaCr/OUKBEQUkUs/nIDZiFBaYCLwiO42Wrkyot+bNCWxgGAFYTGA8rBlj0GKLFYmT TRYhB6lvvwmILdC2aao60tBv7VC1moCE2mTGL4yNRqzKkhaGfI74j+J/fT7wMyUAG+J/bPXz3zuP H3fx/5doEJbnSRKpgs7wTsy8zBGz33WM9ef/8fj/k/r+3/7+Xif/L9Fq5/8vPTHrbeOuG55jxHMC 9EsdB8XDJisUhn2rEz7yYs97PcFzNkxYnCxi+Kp/pmHKp14Y6d88y/DAQa+nDjP+E3wj92cJ28JT s2P29Z+2iidXYU4l2jCH5387/f7gg/vm6Mw9fP/u3dEZHWsnOMukbEznQjG3wukIS4Eh+BTCJrlz wYZ0hGWqkazEFcDyafV+6fW2kLL/tPS61rWuda1rXeta17rWta51rWtd61rXuta1rnWta13rWte6 1rWuda1rXeta17rWta51rWtd69r/YvsXmcQlWAB4AAA= XSHAR_DATA } change_dir extract_data devtools/hello-xshar.sh "$@"