From 17a3b824cd96f9d5ede93bf4366a9611921dbb33 Mon Sep 17 00:00:00 2001 From: dancer Date: Fri, 7 Feb 2003 01:59:19 +0000 Subject: cp -p --- pbuilder-buildpackage-funcs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pbuilder-buildpackage-funcs') diff --git a/pbuilder-buildpackage-funcs b/pbuilder-buildpackage-funcs index 27be010..19bb35e 100644 --- a/pbuilder-buildpackage-funcs +++ b/pbuilder-buildpackage-funcs @@ -26,7 +26,7 @@ function copydsc () { $(cat "$DSCFILE" | \ awk 'BEGIN{p=0} /^$/ {p=0} /^.*:/ {p=0} {if (p){print "'$(dirname "$DSCFILE")'/" $3}} /^Files:/{p=1}' ) ; do echo " -> copying [$FILE]" - cp "$FILE" "$TARGET" + cp -p "$FILE" "$TARGET" done } -- cgit v1.2.3