bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: make install failed; dump core in mkdir


From: pepa65
Subject: Re: make install failed; dump core in mkdir
Date: Mon, 2 Dec 2019 21:51:12 +0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]