From: Junio C Hamano Date: Tue, 05 Aug 2008 23:46:12 GMT Subject: Re: [PATCH] perl/Makefile: handle paths with spaces in the NO_PERL_MAKEMAKER section Message-ID: <7v8wvbuit7.fsf@gitster.siamese.dyndns.org> In-Reply-To: Brandon Casey writes: > Use double quotes to protect against paths which may contain spaces. > ... > + echo ' mkdir -p "$(instdir_SQ)"' >> $@ Is this sufficient? We seem to apply double-sq when writing shell scriptlet in GIT-BUILD-OPTIONS from the main Makefile, and I suspect you would need to do something similar.