On 6 June 2012 12:54, Paolo Bonzini <[email protected]> wrote: >> From: Anthony Liguori <[email protected]> >> + 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
