Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #15685

Re: make install failed; dump core in mkdir

From pepa65 <peterkelly@passchier.net>
Newsgroups gnu.bash.bug
Subject Re: make install failed; dump core in mkdir
Date 2019-12-02 21:51 +0700
Message-ID <mailman.124.1575298281.1979.bug-bash@gnu.org> (permalink)
References <742858147.7229097.1575213654608.ref@mail.yahoo.com> <742858147.7229097.1575213654608@mail.yahoo.com> <20191202135127.GS851@eeg.ccf.org> <20191202143843.GA43338@pooh.my.domain> <0ee0fed4-4542-85c7-7889-2f73b5fd31ce@passchier.net>

Show all headers | View raw


On 12/2/19 9:38 PM, Andreas Kusalananda Kähäri wrote:>      for dirpath do
 >          command mkdir -p "$dirpath" || return
 >      done
It is very sad that the 'do' is not optional (non-backwards 
compatibility breaking feature request!), and it has to be the start of 
the next commandline (after ';' or the start of a new line), so:

     for dirpath
     do command mkdir -p "$dirpath" || return
     done

Peter

Back to gnu.bash.bug | Previous | Next | Find similar | Unroll thread


Thread

Re: make install failed; dump core in mkdir pepa65 <peterkelly@passchier.net> - 2019-12-02 21:51 +0700

csiph-web