#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=bd837254d0ba42223d54a3a8e26dba4606040204 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 H4sIAHHlOmcAA+08/XPbtpL9WX8Fnt0MqVSibMdJOn5Vcq7zUd8ltsd2X67jczm0CFmMKZJHkLb1 3rR/++0uAJIgKcl+bfJu7oiZRBK4WCz2Cwvs0gvvRowW8J8794LISRbf/PltC9rL58/xc/vl8236 vf3yJX3Ct62t3ZffbO++3H7x/MXO7vaLb7a2t5/BB9v6ArQ0Wi4yL2Xsa0z1v7Ft/mWUi3R0FUQj Ht2yZJHN4mint7Gx0atqBRuy9zziqZdxdvDdd2yaxnP2CwCww1On1/tZcMEQ3vGEHzqMfQrCkGWz QLArzlJ+lwZZxiPmSSiJFb+9ppkIm+tO8yxPueuyYJ7EacaSNIgy6I0mWRBHvZ7qFgvRU0N8fnuV B6HvXANy9ZgmQDIkDH7Tj6ZxOvcypGI6z+TjSZxy/ZinaZzKbt/LPDf0omv97PP38sF8MUkS3Tlf hMGV7MdZdXeWepHAuZqPgE4XECj6s0USlFN8CERG7PD5lB0nuGZh9/d6DNomwvI9ZvfZ8BWLkyzx UsEdCXWC31OC2zjlwMNIMC9CKHjICDJlQQSKHk24s9EjyISN2/HYffnc8XzflThsaziM4mGS8ixb DEkswzkHTfGFNSBoo/lcZGNLQrtSiCugPZLu2BIZiMKdeqHg7UinXh5m4/M05y2PZzxMxtanGcwD i81i5LRUV0mHVCbktial31OcPYijLI1DdkK6DxoBnErzCZAjNAgIk82i2Oek3638SRbDIAqy4dEK jixcBHGj9WwAAlZy4R2yaSkbClNVS3LlvC5YJKh/yv87D1IwW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