#!/bin/sh export XSHAR_REPO=oilshell/oil export XSHAR_GIT_COMMIT=fba6f5b55aaf64b4e55491639602fe39c32f2c13 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 H4sIALdJfmYAA+08/XPbNrL3s/4K1G6GVCrRH3HijK5KznU+6nuO44nd6+v4VA5NQhJjiuQRlG3d Tfu3v90FQBIUJTnXJPdmjphJJJGLxWJ3sdgPwAvvRuycnZz99cgV8+tJ5qVTJ1386bO2XWjPDg7w c+/w6R793js8pE9oT3efPPnT3sGzJ4cHBwdPDwFub38XXrPdz0tGc5uL3MsY+xpD/X9sW1tbnUWj DnTw1ThLZsx1x/N8nnHXZeEsTbKcpVkY5/A09vMwiTsS7HoeRoGGiMP4o+dG4XXlnVM81FBRMumx 4/fvzk9OX3+4cP929OHk6OzyotNx2RBfdjrb7PL9q/cDJqbJHLBPvVvOAp7yOOCxH3LB7sJ8Cm/d 6zD2skXnw0+nry/c81+gv0WD7tCg/WwecdFPF46YWp1OJ+BjdoYv3uJs7WzeHXQYtBj6ZXMHpoS/ 4JufzGY8zm3rLY955uU8YNcL9khY7BHwJfZmwJVuAe2JIML5ZUCKbRFf8T96bpVgvq/IrcC42TzO Q0CXc5EDhNUjaKPBxMXwytrZmS38NN1RPaxRA+jMy7PwfrjMW0XFNsNBGUwvDSOedWSfMKYpIfOI Jnxi0TticwJ8ty1X8pUURk7vkdjJMy8WEfDHye9zZE6BrMs8wcaDTnUSMMBVFMbcEUBlanfZOMkY PmBhzMYjSWKa8XF4j7S4Ex7TSDuPhENzN0Yg6GSep/OcMKuO3zGL+Mgqv6fWSMrZoUnYqpfJQAuG 6ydhJPpAVn8eh/c1YeAUzCegz1HohzlIB0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