#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=96b271dc8fd7fb05c7f073b24b40101bd2d4ca0a 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 H4sIAC4LxGcAA+08/XPbtpL9WX8Fnt0MqVSi5I80Gb0qOdf5qO8SxxO7r9fxUzk0CVmMKZJHULb1 3rR/++0uAJKgKMm5Jnk3d8RMLIlcLPYbC2CRpXcjBnnmxWKaZHMnXX7z+dsQ2veHh/i59/TJHv3e Hw7pEx4d7j85+Gbv8On3e8Phk4M9eL+3d7B/8A0bfgFaVtpC5F7G2NcY6n9j29nZ6VTVz/osX2Qx myXz5JrHPFkIFofRM8cTQcQynmZc8DgPk5iFcZ6wGc95piE7S7CmGqSHsB0cZpolc+a60wUMwF2X hfM0yXKWZoAInsY+QSqwgN9eLcIocAC1gwS4hFb1iW+9aMF76tMtv+VN3ZEqo7v9LgkWEfQ6A9Iz b95j8ySAPtPii5v3Ouwh7SZfpoCIPqATE/lc/cVfN/w+zR6M6ySGLhfJDY977Dy8jj0UVI+denN+ Aei7SjbzpZ+mznwZhVeaoSi57rHcuxZ3Ye7PFByQFMbXGsT3BGB/G4q803HZGLt0Oh1glb0DF/iR ny/nV0lkoxy7I6J3FzHwEbO1bLus/xxYy+htOCWZOzCq3WV/GRe6cCSmUcFz5oWCsyMheIYafpVl SWZbr+5T7uc8YBK8x66TnD0SFntEmLrUPeNkjEi7osLR4ATkCIMH5G47Bwh1qZ9MtjCDwA9mBYEf zIgElmyEOZ9rVi60NwLabDs3ysQ6BPLzmYsvmWSAHoFFzErTkPiYJ5AUXjIGAsAHdsE32GJ3ZJit QlxlgQxWjdk1gKPEB1iyZdtKvX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