#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=afd0c7fa040c55b61cb5c0b0a5da555578e4d336 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 H4sIAHe6F2cAA+08/XPbNrL9WX8Fzm6GVCpRtmM3HV+VPNf5qN9zbI/tXl7H53IoErIYUyQfQdrW 3bR/+9tdAPyWZF+b3M0dMZNIAheLxX5hgV164dyK0QL+s+eOH1rx4qs/vm1Be7m3h5/bL/e26ff2 y5f0Cd+2tnZffrW9+3Jr7+WLva2dra+2trdfbO19xbY+Ay2NlonUSRj7ElP9K7bNP40ykYwmfjji 4R2LF+ksCnd6GxsbvbJWsCF7z0OeOClnh998w6ZJNGc/AwA7Ord6vZ8EFwzhLUd4gcXYRz8IWDrz BZtwlvD7xE9THjJHQkms+O01zUTYbHuapVnCbZv58zhKUhYnfphCb+imfhT2eqpbLERPDfH43STz A8+6AeTqMU2AZEgY/KYfTaNk7qRIxXSeysdulHD9mCdJlMhuz0kdO3DCG/3s03fywXzhxrHunC8C fyL7cVbdnSZOKHCu5iOg0wYEiv50EfvFFMe+SIkdHp+y0xjXLMz+fo9B20RYvs/MPhu+YlGcxk4i uCWhzvB7QnAb5xx4GArmhAgFDxlBJswPQdFDl1sbPYKM2bgdj9mXzy3H82yJwzSGwzAaxglP08WQ xDKcc9AUTxgDgq40j4t0bEhoWwpxBbRD0h0bIgVR2FMnELwd6dTJgnR8mWS85fGMB/HY+DiDeWCx aYScluoq6ZDKhNzWpPR7irOHUZgmUcDOSPdBI4BTSeYCOUKDgDDZLIw8Tvrdyp94MfRDPx2erODI wkYQO1zPBiBgJRfeIZuWsiE3VbUkW85rg0WC+if8/zI/AY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