Ports: make fails, if DESTDIR path has spaces

Joshua Isom jrisom at gmail.com
Sun Mar 31 16:24:45 UTC 2013


Try "DESTDIR='/usr/TZ\ ONE'; export DESTDIR".

You need to escape the space.

On 3/31/2013 8:38 AM, rank1seeker at 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.
> -------
>
>
> Domagoj Smolčić
> _______________________________________________
> freebsd-hackers at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe at freebsd.org"
>



More information about the freebsd-hackers mailing list