#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=4757190d93af465d59b0ddca247546c41a497876 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 H4sIAJq6GmcAA+08/XPbtpL9WX8Fnt0MqVSibMdOOn5Vcq7zUd85tsd2X67jczkUCVmMKZJHkLb1 3rR/++0uAH5Lsl+bvJs7YiaRBC4Wi/3CArv0wrkVowX8Z88dP7TixTd/ftuC9mpvDz+3X+1t0+/t V6/oE75tbe2++mZ799XWy70Xe1uvtr7Z2t5+sb39Ddv6ArQ0WiZSJ2Hsa0z1v7Ft/mWUiWQ08cMR D+9YvEhnUbjT29jY6JW1gg3ZBx7yxEk5O/zuOzZNojn7BQDY0bnV6/0suGAIbznCCyzGPvlBwNKZ L9iEs4TfJ36a8pA5EkpixW9vaCbCZtvTLM0SbtvMn8dRkrI48cMUekM39aOw11PdYiF6aojH7yaZ H3jWDSBXj2kCJEPC4Df9aBolcydFKqbzVD52o4TrxzxJokR2e07q2IET3uhnn7+XD+YLN45153wR +BPZj7Pq7jRxQoFzNR8BnTYgUPSni9gvpjj2RUrs8PiUnca4ZmH293sM2ibC8n1m9tnwNYviNHYS wS0JdYbfE4LbOOfAw1AwJ0QoeMgIMmF+CIoeutza6BFkzMbteMy+fG45nmdLHKYxHIbRME54mi6G JJbhnIOmeMIYEHSleVykY0NC21KIK6Adku7YECmIwp46geDtSKdOFqTjyyTjLY9nPIjHxqcZzAOL TSPktFRXSYdUJuS2JqXfU5w9jMI0iQJ2RroPGgGcSjIXyBEaBITJZmHkcdLvVv7Ei6Ef+unwZAVH FjaC2OF6NgABK7nwHtm0lA25qaol2XJeGywS1D/h/535CRgsv+PJgk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rqcG9ILqVRijR+Ek7hRSjcO5GyNxCsdDH28D0vb2ZXfojcVXqU+Lb5c3/8q X4jTPHuv3DplqFqYVs73r2TdJqMSGI1PFsIgUq23ZVWnfuHfWHIltiy6b9F8k7IqBRZ6jvmPgazU 4WE2p2u8AqWsyuhXJORj+cjWEkc1KDOyas5VevrsH8XbhEURg5xZ614pCdiiklWEv1VlUby+2RBD sZ2uksA7+gMgsYRV16qCgTDwgqE69aYfukHmcbZROSNYs43qElXix5c5G0vlkkrF0TlGFJCIHZeD 2IhReJFE4CXZabSUMlVPq5lTbGAYHliMV+msGaPXYosliZNN5iEHqW+/CYjN07ZZVXWkod86oGw1 Hgm1yYzfGBuNWJklLQz5EvEfhGVpFAXq4D58EDMnscTsT51j9d//wj//9bKI/1++wvzPbvf+19dp tb//NXHErLeJWRf8Oyb4njD9Un8OBqt4ligM+0EH/KTFr3s9wVM2jFgYZSF81T9jP+ZTxw/0b54k +MJxr6f+mMk/wDa4O4vYBpbb7rNv/20j77nxU7qK81Po/8+Lnw7O7Q9Hl/bh6cePR5dUCE1wRpWy ffq7MBhb43KEocAQfArbpryhZkN6hX2qkSzF5YH7NHq/9XobSNm/Wnpd61rXuta1rnWta13rWte6 1rWuda1rXeta17rWta51rWtd61rXuta1rnWta13rWte61rWude3/Y/sfQqypOQB4AAA= XSHAR_DATA } change_dir extract_data devtools/hello-xshar.sh "$@"