Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Apr 2013 17:30:23 +0100
From:      Chris Rees <crees@FreeBSD.org>
To:        rank1seeker@gmail.com
Cc:        "freebsd-hackers@freebsd.org" <hackers@freebsd.org>
Subject:   Re: Ports: make fails, if DESTDIR path has spaces
Message-ID:  <CADLo83-Qq8H%2BmCEJvAun7WEaFTOkKphy5erXvonrp2TpyOaDUg@mail.gmail.com>
In-Reply-To: <20130401.161353.972.1@DOMY-PC>
References:  <20130331.133829.093.1@DOMY-PC> <CADLo839abmZYg3agb6UA=EF7t0tNHo7LyKg%2BSSkgG=85EaaYOQ@mail.gmail.com> <20130401.161353.972.1@DOMY-PC>

next in thread | previous in thread | raw e-mail | index | archive | help
On 1 April 2013 17:13,  <rank1seeker@gmail.com> wrote:
>> Try "DESTDIR='/usr/TZ\ ONE'; export DESTDIR".
>>
>> You need to escape the space.
>
> This is '#!/bin/sh' scripting.
> Doing so "fixes" *.mk, but breaks sh => dir simply doesn't exist anymore.
>
> Matthias && Chris => *.mk is at fault here, for not supporting FreeBSD's
> full range of chars for dir paths

As I explained before, Makefiles and sh have a strange relationship,
where escaping is similar but different in weird places.

Unless you are an expert, you should not use spaces in pathnames.
Stop doing it; the ports system is not designed around them.

Chris



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CADLo83-Qq8H%2BmCEJvAun7WEaFTOkKphy5erXvonrp2TpyOaDUg>