changeset 1787:aed284cae1f0

fix msys2 build
author Franklin Schmidt <fschmidt@gmail.com>
date Tue, 12 Dec 2023 19:15:29 -0700
parents bda4ec615c5b
children 0a06d59578aa
files scripts/build-luan.sh scripts/mmake.sh slf4j/src/org/slf4j/impl/GoodAdapter.java src/goodjava/mail/Examples.java
diffstat 4 files changed, 6 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/build-luan.sh	Sun Dec 10 21:17:21 2023 -0700
+++ b/scripts/build-luan.sh	Tue Dec 12 19:15:29 2023 -0700
@@ -1,3 +1,5 @@
+#!/bin/bash
+
 set -e
 
 cd `dirname $0`/..
--- a/scripts/mmake.sh	Sun Dec 10 21:17:21 2023 -0700
+++ b/scripts/mmake.sh	Tue Dec 12 19:15:29 2023 -0700
@@ -1,1 +1,3 @@
+#!/bin/bash
+
 luan luan:mmake.luan $*
--- a/slf4j/src/org/slf4j/impl/GoodAdapter.java	Sun Dec 10 21:17:21 2023 -0700
+++ b/slf4j/src/org/slf4j/impl/GoodAdapter.java	Tue Dec 12 19:15:29 2023 -0700
@@ -12,11 +12,11 @@
 		this.logger = logger;
 	}
 
-	public void error​(String msg) {
+	public void error(String msg) {
 		logger.error(msg);
 	}
 
-	public void error​(String msg, Throwable t) {
+	public void error(String msg, Throwable t) {
 		logger.error(msg,t);
 	}
 
--- a/src/goodjava/mail/Examples.java	Sun Dec 10 21:17:21 2023 -0700
+++ b/src/goodjava/mail/Examples.java	Tue Dec 12 19:15:29 2023 -0700
@@ -35,7 +35,6 @@
 		String text = ""
 			+"testm 2\n"
 			+"x\n"
-			+"产品\n"  // some random chinese
 			+"rg; ;lrg dsl rgj errlgerrg neskrjg skrg rdsg drskrg sd;gr s;kgr skrg skrg sdg ds fg;ks gegr erg ;sg sd; g;sdr gsklrg sg s;kkrg s;hg ;slrg ;elrg ;reg r;g ;r g;er g;ler g;e g; g;r g rg; srkd fjl kj kklsjrg lsk gskdf;rs gkrj glj grekjs lksjgkjn kjslg rklrg ;rsd; kj drsg akrglk kalrgklrsdnrgkgj;r ;s ns b;n;sn ;njslk r;n\n"
 		;
 		Map<String,String> headers = new LinkedHashMap<String,String>();