#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=b3d72a99add7a9295f089b66d13234d00246bcb0 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 H4sIACETgmYAA+08/XPbNrL9WX8Fzm6GVCrRH3E+Rlcl5zof9TvH9sTu9XV8KocmIYkxRfIRlG3d Tfu33+4CIAmKkpxrknszR8wkksjFYrG7WOwH4IV3I3ZOj0//59AV8+tJ5qVTJ11881nbLrRnBwf4 uff86R793nv+nD6hPd198uSbvYNnB7sHe3tPDuD53v7us71v2O7nJaO5zUXuZYx9jaH+P7atra3O olEHOvhqnCUz5rrjeT7PuOuycJYmWc7SLIxzeBr7eZjEHQl2PQ+jQEPEYfzRc6PwuvLOKR5qqCiZ 9NjR2fvz45M3Hy7cvx1+OD48vbzodFw2xJedzja7PHt9NmBimswB+9S75SzgKY8DHvshF+wuzKfw 1r0OYy9bdD78dPLmwj3/BfpbNOgODdrP5hEX/XThiKnV6XQCPman+OIdztbO5t1Bh0GLoV82d2BK +Au++clsxuPctt7xmGdezgN2vWCPhMUeAV9ibwZc6RbQngginF8GpNgW8RX/o+dWCeb7itwKjJvN 4zwEdDkXOUBYPYI2GkxcDK+snZ3Zwk/THdXDGjWAzrw8C++Hy7xVVGwzHJTB9NIw4llH9gljmhIy j2jCJxa9IzYnwHfbciVfSWHk9B6JnTzzYhEBf5z8PkfmFMi6zBNsPOhUJwEDXEVhzB0BVKZ2l42T jOEDFsZsPJIkphkfh/dIizvhMY2080g4NHdjBIJO5nk6zwmz6vgds4iPrPJ7ao2knB2ahK16mQy0 YLh+EkaiD2T153F4XxMGTsF8AvochX6Yg3RQtDtiegeKJeUkudhjWjVr4rr1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