head 1.2; access; symbols pkgsrc-2023Q4:1.2.0.32 pkgsrc-2023Q4-base:1.2 pkgsrc-2023Q3:1.2.0.30 pkgsrc-2023Q3-base:1.2 pkgsrc-2023Q2:1.2.0.28 pkgsrc-2023Q2-base:1.2 pkgsrc-2023Q1:1.2.0.26 pkgsrc-2023Q1-base:1.2 pkgsrc-2022Q4:1.2.0.24 pkgsrc-2022Q4-base:1.2 pkgsrc-2022Q3:1.2.0.22 pkgsrc-2022Q3-base:1.2 pkgsrc-2022Q2:1.2.0.20 pkgsrc-2022Q2-base:1.2 pkgsrc-2022Q1:1.2.0.18 pkgsrc-2022Q1-base:1.2 pkgsrc-2021Q4:1.2.0.16 pkgsrc-2021Q4-base:1.2 pkgsrc-2021Q3:1.2.0.14 pkgsrc-2021Q3-base:1.2 pkgsrc-2021Q2:1.2.0.12 pkgsrc-2021Q2-base:1.2 pkgsrc-2021Q1:1.2.0.10 pkgsrc-2021Q1-base:1.2 pkgsrc-2020Q4:1.2.0.8 pkgsrc-2020Q4-base:1.2 pkgsrc-2020Q3:1.2.0.6 pkgsrc-2020Q3-base:1.2 pkgsrc-2020Q2:1.2.0.4 pkgsrc-2020Q2-base:1.2 pkgsrc-2020Q1:1.2.0.2 pkgsrc-2020Q1-base:1.2; locks; strict; comment @# @; 1.2 date 2020.02.09.22.39.21; author rillig; state Exp; branches; next 1.1; commitid oKNyiD9DryVYf3WB; 1.1 date 2020.02.09.22.28.58; author rillig; state Exp; branches; next ; commitid IcKfVX0gX8mmc3WB; desc @@ 1.2 log @mk/bsd.pkg.mk: support spaces in PATH directories Fixes PR pkg/53959. @ text @#! /bin/sh # $NetBSD: spec,v 1.1 2020/02/09 22:28:58 rillig Exp $ # # Ensures that the PATH variable can contain spaces, and that commands in # such directories can be found and executed. # # For its own directories (PREFIX, WRKDIR), pkgsrc does not support paths # with spaces, though. do_test() { env \ PATH="/Path with spaces:$PATH:/Path with spaces" \ PKGNAME="package-1.0" \ $TEST_MAKE \ -f "../../mk/bsd.pkg.mk" \ show-var VARNAME=PATH > "$TEST_OUTFILE" } check_result() { exit_status 0 output_require ":/Path with spaces:" output_require "/Path with spaces$" } @ 1.1 log @regress/path: demonstrate wrong handling of PATH directories with spaces See PR pkg/53959. @ text @d2 1 a2 1 # $NetBSD$ d22 2 a23 4 # FIXME: the spaces must be preserved. output_require ":/Path:with:spaces:" # FIXME: the spaces must be preserved. output_require "/Path:with:spaces$" @