230 |
if $opt_link && $LN_S "$my_srcdir/$my_file" "$my_destdir/$my_file"; then |
if $opt_link && $LN_S "$my_srcdir/$my_file" "$my_destdir/$my_file"; then |
231 |
$opt_quiet || func_echo "copying file \`$my_destdir/$my_file'" |
$opt_quiet || func_echo "copying file \`$my_destdir/$my_file'" |
232 |
copy_return_status=0 |
copy_return_status=0 |
233 |
elif { ( cd "$my_srcdir" && $TAR chof - "$my_file" 2> /dev/null; ) \ |
elif { ( cd "$my_srcdir" 2>/dev/null && $TAR chf - "$my_file" 2> /dev/null; ) \ |
234 |
| ( cd "$my_destdir" && "$TAR" xf - > /dev/null 2>&1; ) } ; then |
| ( umask 0; cd "$my_destdir" 2>/dev/null && "$TAR" xf - > /dev/null 2>&1; ) } |
235 |
|
then |
236 |
$opt_quiet || func_echo "copying file \`$my_destdir/$my_file'" |
$opt_quiet || func_echo "copying file \`$my_destdir/$my_file'" |
237 |
copy_return_status=0 |
copy_return_status=0 |
238 |
elif $CP -p "$my_srcdir/$my_file" "$my_destdir/$my_file"; then |
elif $CP -p "$my_srcdir/$my_file" "$my_destdir/$my_file"; then |