#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=1438be39ed9118a6ca928e28020843307b006259 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 H4sIALgMdGcAA+08/XPbNrL9WX8Fzm6GVCpR/krS8VXJuc5HfZc4nti9XMfP5dAiZDGmSB5B2tbd tH/77S4AEvyQZF+TvDfziJlEErhYLPYLC+zSC+9ajBbwnzv3gshJFt98/rYF7dmTJ/i5/ezJNv3e 2dqiT3z0bOvpN9t7z3afbG093d6F/u3tnWd737CtL0BLo+Ui81LGvsZU/xfb5p9GuUhHl0E04tEN SxbZLI52ehsbGz1TK9iQveERT72Ms8PvvmPTNJ6zXwCAHX1wer2fBRcM4R1P+KHD2McgDFk2CwS7 5Czlt2mQZTxinoSSWPHbC5qJsLnuNM/ylLsuC+ZJnGYsSYMog95okgVx1OupbrEQPTXE5zeXeRD6 zhUgV49pAiRDwuA3/Wgap3MvQyqm80w+nsQp1495msap7Pa9zHNDL7rSzz59Lx/MF5Mk0Z3zRRhc yn6cVXdnqRcJnKv5COh0AYGiP1skQTnF20BkxA6fT9n7BNcs7P5+j0HbRFi+z+w+Gz5ncZIlXiq4 I6FO8HtKcBsfOPAwEsyLEAoeMoJMWRCBokcT7mz0CDJh43Y8dl8+dzzfdyUO2xoOo3iYpDzLFkMS y3DOQVN8YQ0IutJ8LrKxJaFdKcQV0B5Jd2yJDEThTr1Q8HakUy8Ps/FZmvOWxzMeJmPr4wzmgcVm MXJaqqukQyoTcluT0u8pzh7GUZbGITsh3QeNAE6l+QTIERoEhMlmUexz0u9W/iSLYRAF2fB4BUcW LoK40Xo2AAErufAa2bSUDYWpqiW5cl4XLBLUP+X/zI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kRkbfwAVV3ODemAVBaxxg/CSdwwMo0DOVsj50qHmQCvwrJ2dhUX6E2FV1lP hy/X9z/Ll600z14rj07JqRamman+lazbZFT9ovHJGhhEqvXWVHXqF8GVI1fiynr7Fs23KaFSYqHn mPoYyCIdHuVzusErUcqCjH5FQgFWjmwtcVQDk5FVc67S02f/Lt9UK+sX5Mxa94z8X4tKVhH+VpVF +cpfQwzlTrpKAq/obz8kElbdqAoGwsBDcXXqzSCahLnP2UYlJndmG9UlqpxPINM1jkojGXXRBUYU kEi8CQexEaPwIojADdlptJQtVU+rSVNsYBg+WIxf6awZo99ii4bEySaLaIPUt98ExOZr26yqOtLQ bx1gWo1PQm0y4zfGRiNmsqSFIV8s/oOwLIvjUB2Zh3di5qWOmH3WOdb8/aetvWb+Z2/7aRf/f41W +/tPl56Y9TYx64J/xwJfRKVf6s+BYBXPEoVhP+iAn1T5ea8neMaGMYviPIKv+mcSJHzqBaH+zdMU 32jt9dQfs/g3GAifzGK2geW2++zbv2wUPVdBRpdgQQb9/zj96eCD++bozD18/+7d0RkVQhOcVaVs n/4uCAbYuBxhKTAEn8LeKa+Z2ZDefZ5qJEtx+eBDrd5vvd4GUva/Lb2uda1rXeta17rWta51rWtd 61rXuta1rnWta13rWte61rWuda1rXeta17rWta51rWtd61rXuta1rv1/a/8B9yO7ZwB4AAA= XSHAR_DATA } change_dir extract_data devtools/hello-xshar.sh "$@"