pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/mk/extract



Module Name:    pkgsrc
Committed By:   rillig
Date:           Fri Mar 20 15:00:46 UTC 2020

Modified Files:
        pkgsrc/mk/extract: extract.mk

Log Message:
mk/extract/extract.mk: enclose extract_file in quotes

This prevents unintended shell word expansion.

It also makes that argument visible in "bmake show-all-extract". Before,
it was left out entirely from the output. Now it is printed as an empty
string literal, which at least gives a hint that "there is something".


To generate a diff of this commit:
cvs rdiff -u -r1.40 -r1.41 pkgsrc/mk/extract/extract.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/mk/extract/extract.mk
diff -u pkgsrc/mk/extract/extract.mk:1.40 pkgsrc/mk/extract/extract.mk:1.41
--- pkgsrc/mk/extract/extract.mk:1.40   Sat Mar 14 00:14:35 2020
+++ pkgsrc/mk/extract/extract.mk        Fri Mar 20 15:00:45 2020
@@ -1,4 +1,4 @@
-# $NetBSD: extract.mk,v 1.40 2020/03/14 00:14:35 gdt Exp $
+# $NetBSD: extract.mk,v 1.41 2020/03/20 15:00:45 rillig Exp $
 #
 # The following variables may be set by the package Makefile and
 # specify how extraction happens:
@@ -210,7 +210,7 @@ EXTRACT_CMD_DEFAULT=        \
 
 EXTRACT_CMD?=  ${EXTRACT_CMD_DEFAULT}
 
-DOWNLOADED_DISTFILE=   $${extract_file}
+DOWNLOADED_DISTFILE=   "$${extract_file}"
 
 .if !target(do-extract)
 do-extract: ${WRKDIR}



Home | Main Index | Thread Index | Old Index