From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: lux Newsgroups: gmane.emacs.bugs Subject: bug#61366: [PATCH] ; Add usage, will not continue if no parameters are provided. Date: Sun, 19 Mar 2023 11:57:06 +0800 Message-ID: References: <873573yowp.fsf@shellcodes.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19928"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Evolution 3.46.4 (3.46.4-1.fc37) Cc: casouri@gmail.com To: 61366@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Mar 19 04:58:24 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pdkBb-0004yk-3j for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 19 Mar 2023 04:58:23 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pdkBM-0006MO-SF; Sat, 18 Mar 2023 23:58:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pdkBH-0006KV-1B for bug-gnu-emacs@gnu.org; Sat, 18 Mar 2023 23:58:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pdkBG-0002SM-Ml for bug-gnu-emacs@gnu.org; Sat, 18 Mar 2023 23:58:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pdkBG-0001uT-Im for bug-gnu-emacs@gnu.org; Sat, 18 Mar 2023 23:58:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: lux Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 19 Mar 2023 03:58:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61366 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 61366-submit@debbugs.gnu.org id=B61366.16791982467268 (code B ref 61366); Sun, 19 Mar 2023 03:58:02 +0000 Original-Received: (at 61366) by debbugs.gnu.org; 19 Mar 2023 03:57:26 +0000 Original-Received: from localhost ([127.0.0.1]:49251 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pdkAg-0001tA-GP for submit@debbugs.gnu.org; Sat, 18 Mar 2023 23:57:26 -0400 Original-Received: from out162-62-57-49.mail.qq.com ([162.62.57.49]:51011) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pdkAd-0001sk-A7 for 61366@debbugs.gnu.org; Sat, 18 Mar 2023 23:57:25 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qq.com; s=s201512; t=1679198228; bh=/YyFjSRA6qv+bV5pQgNKkRUuaiQtsvx4irhygkqF3oM=; h=Subject:From:To:Cc:Date:In-Reply-To:References; b=hQ3Li/rbtsS6HMXXBkhFqcFk3sTqU8ani4cR2wQ/rLA8e1+Ghwjg4i0CSj8kR5xwW c5rmj1frkbUoREmSj+XwErY8ncFtroW4NDq///Sl4Kg8NJFBOGwnLDF02996sZYGsN wVz8JmMrBm/lvKcveTUL58P2x4sbadl6FDz9nhQc= Original-Received: from [IPv6:240e:399:e6f:ee32:f815:4044:ba50:97f9] ([240e:399:e6f:ee32:f815:4044:ba50:97f9]) by newxmesmtplogicsvrszc1-0.qq.com (NewEsmtp) with SMTP id E471847D; Sun, 19 Mar 2023 11:57:07 +0800 X-QQ-mid: xmsmtpt1679198227tpx21w3i8 X-QQ-XMAILINFO: N83erINCyABsFLe8gf0Tw0ooaFrQvkaNt00TZ1Q83+v87PyHqEJLqoIeISvbim s3HYKxtZHIfhmqJJVun0MEMbdRRDfm143gQiq5CnZskbXEGA1nTtTY7yJc2L39s84Rdd2Xn0smmX aM38vxJ2AtZYPksb67Hnzi/fK94V6V55cM8gNorTTRxluUyMGT5Qc4iSrpH8/M0AdHYiV8SCYkE3 Hsegz9e29dg0ue55bsOmm34VwqDSooC7d1uFUaItWh3aCweu4+Let5n+Vk2iiDIq+/Ci9juGk2kT bQbvfoP9BTl4OxtLgIhqz39nmXuIXSsprcxOwOHUvBS+id3Iq+cZ13SLUo4AxIVzgaC9XmK6req9 EoqUJlxx2o9aZHT2JA0Wtg21J2DuogF+O193Er4mLcANO+PRT82mDIHpUzpdoBWB/gDbylL6xoZA hEePLBEZdyqfzFdAmigOoErdKF2ks8pZxAfoSyO0kmlNOFOE3U9d3o3r4yLGNXJsraywmmh7I5B0 dUaXXox9bI/sBYj7iXBxpa/kMNrwnfcqVEpN98ED3AibI5PudCHeRNLjSiu885oCJSnvzgKgL+tR hZvfXpc4xwDYWyrc4zPwa4Jf+JS+nBnnBNFQjUEwCfwNvqCVPdIx8N1L9qAnSXaB85TdaGGlvj5O ovDzvjRL1lOqBQuHHK5/u2ZuWZLdUfUfUDnP1zjGGLBUwON/zOB7sq9GWs7lL9t21PNyveUg0ukW /nKbBoKazAbkD0s7Da2HKh9Q0Op7A/BxQjulsv+2AGCHyD4e25Rh6P08JnhsGIKIrkpynFagdEw/ SPTSd3eWjys5nHFbwuxU4hUJbVhd3ChWiqeI/WmR X-OQ-MSGID: In-Reply-To: <873573yowp.fsf@shellcodes.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:258219 Archived-At: On Sat, 2023-02-18 at 23:27 +0800, lux wrote: > Xi Lu writes: >=20 > > --- > > =C2=A0admin/notes/tree-sitter/build-module/build.sh | 6 ++++++ > > =C2=A01 file changed, 6 insertions(+) > >=20 > > diff --git a/admin/notes/tree-sitter/build-module/build.sh > > b/admin/notes/tree-sitter/build-module/build.sh > > index 9dc674237ca..08a71c1dde1 100755 > > --- a/admin/notes/tree-sitter/build-module/build.sh > > +++ b/admin/notes/tree-sitter/build-module/build.sh > > @@ -3,6 +3,12 @@ > > =C2=A0lang=3D$1 > > =C2=A0topdir=3D"$PWD" > > =C2=A0 > > +if [ $# -lt 1 ] > > +then > > +=C2=A0=C2=A0=C2=A0 echo "Usage: $0 " > > +=C2=A0=C2=A0=C2=A0 exit > > +fi > > + > > =C2=A0case $(uname) in > > =C2=A0=C2=A0=C2=A0=C2=A0 "Darwin") > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 soext=3D"dylib" >=20 > This patch need to review. If not give the `language' paramter, some > errors will be printed. >=20 > IMHO, Can the batch.sh and build.sh merge to one shell file? Hi, Yuan Fu, Can you help to look this issue?