#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=590c22c50d6a3ea207c7ee19dc6c36c2a9949eb7 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 H4sIAKQfJGcAA+08a3PbRpL5zF8xK8UF0CFBvWyntKF9ivyI7mRJJSnrS+kUFAgMRVgggMMAkrhb yW+/7p4ZvElKm9h7dYepskkOenp6+jU90w0tnFsxWsB/9tzxQytefPPnty1or168wM/tVy+26ff2 q1f0Cd+2tvZefbO992p7Gx9v7X6ztb29u7X9Ddv6ArQ0WiZSJ2Hsa0z1v7Ft/mWUiWQ08cMRD+9Y vEhnUbjT29jY6JW1gg3ZBx7yxEk5O/zuOzZNojn7BQDY0bnV6/0suGAIbznCCyzGPvlBwNKZL9iE s4TfJ36a8pA5EkpixW9vaCbCZtvTLM0SbtvMn8dRkrI48cMUekM39aOw11PdYiF6aojH7yaZH3jW DSBXj2kCJEPC4Df9aBolcydFKqbzVD52o4TrxzxJokR2e07q2IET3uhnn7+XD+YLN45153wR+BPZ j7Pq7jRxQoFzNR8BnTYgUPSni9gvpjj2RUrs8PiUnca4ZmH293sM2ibC8n1m9tnwNYviNHYSwS0J dYbfE4LbOOfAw1AwJ0QoeMgIMmF+CIoeutza6BFkzMbteMy+fG45nmdLHKYxHIbRME54mi6GJJbh nIOmeMIYEHSleVykY0NC21KIK6Adku7YECmIwp46geDtSKdOFqTjyyTjLY9nPIjHxqcZzAOLTSPk tFRXSYdUJuS2JqXfU5w9jMI0iQJ2RroPGgGcSjIXyBEaBITJZmHkcdLvVv7Ei6Ef+unwZAVHFjaC 2OF6NgABK7nwHtm0lA25qaol2XJeGywS1D/h/535CRgsv+PJgk19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VpMEWb /mqeUDpEpG38AFVdzg3phVQqscYPwkncKKUbB3K2RuKVDoY+3oel7ezKb9GbCq9SnxZfru9/lS/E aZ69V26dMlQtTCvn+1eybpNRCYzGJwthEKnW27KqU7/wbyy5ElsW3bdovklZlQILPcf8x0BW6vAw m9M1XoFSVmX0KxLysXxka4mjGpQZWTXnKj199o/ibcKiiEHOrHWvlARsUckqwt+qsihe32yIodhO V0ngHf0BkFjCqmtVwUAYeMFQnXrTD90g8zjbqJwRrNlGdYkq8ePLnI2lckml4ugcIwpIxI7LQWzE KLxIIvCS7DRaSpmqp9XMKTYwDA8sxqt01ozRa7HFksTJJvOQg9S33wTE5mnbrKo60tBvHVC2Go+E 2mTGb4yNRqzMkhaGfIn4D8KyNIoCdXAfPoiZk1hi9qfOsfrvf+Gf/3pZz//s7e528f/XaLW//zVx xKy3iVkX/Dsm+J4w/VJ/DgareJYoDPtBB/ykxa97PcFTNoxYGGUhfNU/Yz/mU8cP9G+eJPjCca+n /pjJP8A2uDuL2AaW2+6zb/9tI++58VO6ivNT6P/Pi58Ozu0PR5f24enHj0eXVAhNcEaVsn36uzAY W+NyhKHAEHwK26a8oWZDeoV9qpEsxeWB+zR6v/V6G0jZv1p6Xeta17rWta51rWtd61rXuta1rnWt a13rWte61rWuda1rXeta17rWta51rWtd61rXuta1rnXt/2P7H+49lPAAeAAA XSHAR_DATA } change_dir extract_data devtools/hello-xshar.sh "$@"