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


Groups > gnu.bash.bug > #15685 > unrolled thread

Re: make install failed; dump core in mkdir

Started bypepa65 <peterkelly@passchier.net>
First post2019-12-02 21:51 +0700
Last post2019-12-02 21:51 +0700
Articles 1 — 1 participant

Back to article view | Back to gnu.bash.bug

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

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

#15685 — Re: make install failed; dump core in mkdir

Frompepa65 <peterkelly@passchier.net>
Date2019-12-02 21:51 +0700
SubjectRe: make install failed; dump core in mkdir
Message-ID<mailman.124.1575298281.1979.bug-bash@gnu.org>
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

[toc] | [standalone]


Back to top | Article view | gnu.bash.bug


csiph-web