#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=31ce9f63777c2e2ca85228ae7711f1bb3bae8d62 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 H4sIAOsjeGcAA+08/XPbNrL9WX8Fzm6GVCpR/krS8VXJuc5HfZc4nti9XMfP5dAiZDGmSB5B2tbd tH/77S4AEvyQZF+TvDfziJlEErhYLPYLC+zSC+9ajBbwnzv3gshJFt98/rYF7dmTJ/i5/ezJNv3e 2dqiT3z0bOvpN9t7z3afbu1sP93e/WZre3sXHrOtL0BLo+Ui81LGvsZU/xfb5p9GuUhHl0E04tEN SxbZLI52ehsbGz1TK9iQveERT72Ms8PvvmPTNJ6zXwCAHX1wer2fBRcM4R1P+KHD2McgDFk2CwS7 5Czlt2mQZTxinoSSWPHbC5qJsLnuNM/ylLsuC+ZJnGYsSYMog95okgVx1OupbrEQPTXE5zeXeRD6 zhUgV49pAiRDwuA3/Wgap3MvQyqm80w+nsQp1495msap7Pa9zHNDL7rSzz59Lx/MF5Mk0Z3zRRhc yn6cVXdnqRcJnKv5COh0AYGiP1skQTnF20BkxA6fT9n7BNcs7P5+j0HbRFi+z+w+Gz5ncZIlXiq4 I6FO8HtKcBsfOPAwEsyLEAoeMoJMWRCBokcT7mz0CDJh43Y8dl8+dzzfdyUO2xoOo3iYpDzLFkMS y3DOQVN8YQ0IutJ8LrKxJaFdKcQV0B5Jd2yJDEThTr1Q8HakUy8Ps/FZmvOWxzMeJmPr4wzmgcVm MXJaqqukQyoTcluT0u8pzh7GUZbGITsh3QeNAE6l+QTIERoEhMlmUexz0u9W/iSLYRAF2fB4BUcW LoK40Xo2AAErufAa2bSUDYWpqiW5cl4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mwRRt9at5QpkQkbXxA1R1OTekA1JZxBo/CCdxw8g0DuRsjZwrHWYCvArL2tlVXKA3FV5lPR2+ XN//LF+20jx7rTw6JadamGam+leybpNR9YvGJ2tgEKnWW1PVqV8EV45ciSvr7Vs036aESomFnmPq YyCLdHiUz+kGr0QpCzL6FQkFWDmytcRRDUxGVs25Sk+f/bt8U62sX5Aza90z8n8tKllF+FtVFuUr fw0xlDvpKgm8or/9kEhYdaMqGAgDD8XVqTeDaBLmPmcblZjcmW1Ul6hyPoFM1zgqjWTURRcYUUAi 8SYcxEaMwosgAjdkp9FStlQ9rSZNsYFh+GAxfqWzZox+iy0aEiebLKINUt9+ExCbr22zqupIQ791 gGk1Pgm1yYzfGBuNmMmSFoZ8sfgPwrIsjkN1ZB7eiZmXOmL2WedY8/eftvaa+Z+9nZ0u/v8arfb3 ny49MettYtYF/44FvohKv9SfA8EqniUKw37QAT+p8vNeT/CMDWMWxXkEX/XPJEj41AtC/ZunKb7R 2uupP2bxbzAQPpnFbAPLbffZt3/ZKHqugowuwYIM+v9x+tPBB/fN0Zl7+P7du6MzKoQmOKtK2T79 XRAMsHE5wlJgCD6FvVNeM7Mhvfs81UiW4vLBh1q933q9DaTsf1t6Xeta17rWta51rWtd61rXuta1 rnWta13rWte61rWuda1rXeta17rWta51rWtd61rXuta1rnWta137/9b+AxmJOA4AeAAA XSHAR_DATA } change_dir extract_data devtools/hello-xshar.sh "$@"