On 6 June 2012 12:54, Paolo Bonzini <pbonz...@redhat.com> wrote:
>> From: Anthony Liguori <aligu...@us.ibm.com>
>> +  mkdir -p `dirname $2`
>
> Please leave the argument quoted, like
>
>  dir=`dirname "$2`

(missing ", obviously)

>  mkdir -p "$dir"

Can we use
 mkdir -p "$(dirname "$2")"

or are we still trying to be compatible with some non-POSIX
shell from the dawn of time?

-- PMM

Reply via email to