GNU bug report logs -
#61366
[PATCH] ; Add usage, will not continue if no parameters are provided.
Previous Next
Reported by: Xi Lu <lx <at> shellcodes.org>
Date: Wed, 8 Feb 2023 10:02:02 UTC
Severity: normal
Tags: patch
Done: Stefan Kangas <stefankangas <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
Message #14 received at 61366 <at> debbugs.gnu.org (full text, mbox):
> Cc: casouri <at> gmail.com
> From: lux <lx <at> shellcodes.org>
> Date: Sun, 19 Mar 2023 11:57:06 +0800
>
> On Sat, 2023-02-18 at 23:27 +0800, lux wrote:
> > Xi Lu <lx <at> shellcodes.org> writes:
> >
> > > ---
> > > admin/notes/tree-sitter/build-module/build.sh | 6 ++++++
> > > 1 file changed, 6 insertions(+)
> > >
> > > 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 @@
> > > lang=$1
> > > topdir="$PWD"
> > >
> > > +if [ $# -lt 1 ]
> > > +then
> > > + echo "Usage: $0 <language>"
> > > + exit
> > > +fi
> > > +
> > > case $(uname) in
> > > "Darwin")
> > > soext="dylib"
> >
> > This patch need to review. If not give the `language' paramter, some
> > errors will be printed.
> >
> > IMHO, Can the batch.sh and build.sh merge to one shell file?
>
> Hi, Yuan Fu, Can you help to look this issue?
I don't see a point, as I'm going to delete these scripts very soon.
They did their job and are no longer needed in our repository.
This bug report was last modified 1 year and 259 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.