Thanks, applied as e9943e35a599b58639bb5bf75c22f4ec08dabae3. Michael
[sent from post-receive hook] On Sat, 20 Jun 2020 00:04:05 +0200, Roland Hieber <[email protected]> wrote: > 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]> > Message-Id: <[email protected]> > Signed-off-by: Michael Olbrich <[email protected]> > > diff --git a/scripts/lib/ptxd_lib_template.sh > b/scripts/lib/ptxd_lib_template.sh > index f39e6e033e97..3d47cd85a4c4 100644 > --- a/scripts/lib/ptxd_lib_template.sh > +++ b/scripts/lib/ptxd_lib_template.sh > @@ -203,7 +203,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 _______________________________________________ ptxdist mailing list [email protected] To unsubscribe, send a mail with subject "unsubscribe" to [email protected]
