The second tar can only print the file names in the archive, and since the first tar does not store the original path and since the files come from the template path, we could not use that path anyway. Do some additional handling to print the full paths of the generated files after unpacking them to the destination.
Signed-off-by: Roland Hieber <[email protected]> --- scripts/lib/ptxd_lib_template.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/lib/ptxd_lib_template.sh b/scripts/lib/ptxd_lib_template.sh index 805d8d9d3dac..6210345c730d 100644 --- a/scripts/lib/ptxd_lib_template.sh +++ b/scripts/lib/ptxd_lib_template.sh @@ -229,7 +229,10 @@ ptxd_template_write_src() { template_src="$(ptxd_template_file "${action}")" && mkdir -p "${dst}" && tar -C "${template_src}" -cf - --exclude .svn . | \ - tar -C "${dst}" -xvf - && + tar -C "${dst}" -xf - && + for file in "${dst}"/*; do + echo "generating $(ptxd_template_print_path "$file")" + done && if [ ! -e "${dst}/wizard.sh" ]; then return -- 2.27.0 _______________________________________________ ptxdist mailing list [email protected] To unsubscribe, send a mail with subject "unsubscribe" to [email protected]
