diff options
Diffstat (limited to 'dviware/dvisvgm/install-sh')
-rwxr-xr-x | dviware/dvisvgm/install-sh | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/dviware/dvisvgm/install-sh b/dviware/dvisvgm/install-sh index 20d8b2eaea..8175c640fe 100755 --- a/dviware/dvisvgm/install-sh +++ b/dviware/dvisvgm/install-sh @@ -451,18 +451,7 @@ do trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0 # Copy the file name to the temp name. - (umask $cp_umask && - { test -z "$stripcmd" || { - # Create $dsttmp read-write so that cp doesn't create it read-only, - # which would cause strip to fail. - if test -z "$doit"; then - : >"$dsttmp" # No need to fork-exec 'touch'. - else - $doit touch "$dsttmp" - fi - } - } && - $doit_exec $cpprog "$src" "$dsttmp") && + (umask $cp_umask && $doit_exec $cpprog "$src" "$dsttmp") && # and set any options; do chmod last to preserve setuid bits. # |