--- a/etc/postinstall/cygwin-doc.sh 2020-07-07 04:30:32.868445900 -0600 +++ b/etc/postinstall/cygwin-doc.sh 2020-12-16 15:38:03.318870800 -0700 @@ -53,7 +53,8 @@ fi # create User Guide and API PDF and HTML shortcuts while read target name desc do - [ -r "$target" ] && $mks $CYGWINFORALL -P -n "Cygwin${wow64}/$name" -d "$desc" -- $target + [ -w /tmp/mkshortcut.strace ] && trace='' || trace='/bin/strace -o /tmp/mkshortcut.strace' + [ -r "$target" ] && $trace $mks $CYGWINFORALL -P -n "Cygwin${wow64}/$name" -d "$desc" -- $target done <