#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=5c2a2fb36a5a728fc9e85dcb107991d7795f2d80 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 H4sIABxxrmYAA+08/XPbNrL9WX8Fzm6GVCpR8keajK5KznU+6neO44nd6+v4uRyahCzGFMlHULZ1 N+3ffrsLgCQoSrKvTd6bKTHTWCIXi8XuYr+w6sK7EYNrHrt+mjrp4qvPMYYwvt3fx787z5/t0Ped 58/pL4z9b5/tf7UD/+7tPx/u7Q+/Gu4Mn8MjNvws1NTGXORextiXWOr/49ja2uqU4md9ls+zmC1A KxxPBBHLeJpxwePcy8MkZmGcJ+zwm286OG+SJTPmupM5zOGuy8JZmmQ5SzOAgqexj1M6Cizgt1fz MAocWM1B/C7hV3Ps0yy5zrxZj82SAGAnxQeX99hNvkh5r8MeMgi2mOTmPXbizfg5ImAin+XyX/eh 6AgYJh3F8M8Nv08zwk0f5OOu3OBsASzU25ktovCq8tyhB/pt7l2LuzD3pz0WJdeKQUBtGF9rEN8T eafjsrGE6AAj2Dse4zZsgOyxSXdEG9jGiXzE7GK7tJTzUxbmPOuy/kt2ksS8Q8A/nroABUjhX3oA VExLchBzl3kCV+ejgj/hhB6oFbiDex4Z3Js4d7icbYHgrW6neMej+tyzPFs19/vwGt4+XT//OBT1 xeWOkGESimB6aq/d5rUQ5DvLfFlhr3OODG6e+rJGYZVTODIvFJwdCMEzVP83WZZkxNhSiqceaLrd JMRSVddIUROaOkoTOgaB7ImA/1jqxICssuobUFkb9bZJebQ+r1cehAJe458m9cHn6/RHnp4G/VF4 SYZ00NRaK0TwJMANIoATdh8rigpHzsCo8RnYNhsVZokp+uiv54n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