Date: Sun, 31 Mar 2013 17:29:18 +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: <CADLo839abmZYg3agb6UA=EF7t0tNHo7LyKg%2BSSkgG=85EaaYOQ@mail.gmail.com> In-Reply-To: <20130331.133829.093.1@DOMY-PC> References: <20130331.133829.093.1@DOMY-PC>
next in thread | previous in thread | raw e-mail | index | archive | help
On 31 March 2013 14:38, <rank1seeker@gmail.com> wrote: > Under 9.0-RELEASE-p6 > > -- > #!/bin/sh > > # Contains 9.0 world > DESTDIR='/usr/TZ ONE'; export DESTDIR > > cd /usr/ports/benchmarks/unixbench > /usr/bin/make showconfig > -- > > > Errors: > ------- > [: /usr/TZ: unexpected operator > ===> Creating some important subdirectories > [: /usr/TZ: unexpected operator > ===> /tmp subdirectory has been successfully created > [: /usr/TZ: unexpected operator > ===> /dev subdirectory has been successfully created > mktemp: mkdtemp failed on /usr/TZ: File exists > ===> Failed to create temporary mount point > *** Error code 9 > > Stop in /usr/ports/benchmarks/unixbench. Yeah, don't do that. Spaces in directories will always cause problems; I suppose someone could fix it in bsd.port.mk, but it will probably break somewhere else; spaces in Make variables have a special meaning. Use an underscore if you're desperate. Chris
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CADLo839abmZYg3agb6UA=EF7t0tNHo7LyKg%2BSSkgG=85EaaYOQ>