293 |
|
|
294 |
$rm $file |
$rm $file |
295 |
if test -n "$ln_s" && $ln_s $pkgdatadir/$file $file; then : |
if test -n "$ln_s" && $ln_s $pkgdatadir/$file $file; then : |
296 |
elif { ( cd $pkgdatadir && $tar chof - $file 2> /dev/null; ) \ |
elif { ( cd $pkgdatadir 2>/dev/null && $tar chf - $file 2> /dev/null; ) \ |
297 |
| $tar xf - > /dev/null 2>&1; } ; then : |
| ( umask 0 && $tar xf - > /dev/null 2>&1; ) } ; then : |
298 |
elif $cp $pkgdatadir/$file $file; then : |
elif $cp $pkgdatadir/$file $file; then : |
299 |
else |
else |
300 |
echo "$progname: cannot copy \`$pkgdatadir/$file' to \`$file'" 1>&2 |
echo "$progname: cannot copy \`$pkgdatadir/$file' to \`$file'" 1>&2 |
312 |
$mkdir libltdl |
$mkdir libltdl |
313 |
ltdlfiles=`cd $pkgdatadir && ls libltdl/*` |
ltdlfiles=`cd $pkgdatadir && ls libltdl/*` |
314 |
for file in $ltdlfiles; do |
for file in $ltdlfiles; do |
315 |
if { ( cd $pkgdatadir && $tar cf - $file 2> /dev/null; ) \ |
if { ( cd $pkgdatadir 2>/dev/null && $tar chf - $file 2> /dev/null; ) \ |
316 |
| $tar xf - > /dev/null 2>&1; } ; then : |
| ( umask 0 && $tar xf - > /dev/null 2>&1; ) } ; then : |
317 |
elif $cp $pkgdatadir/$file $file; then : |
elif $cp $pkgdatadir/$file $file; then : |
318 |
else |
else |
319 |
echo "$progname: cannot copy \`$pkgdatadir/$file' to \`$file'" 1>&2 |
echo "$progname: cannot copy \`$pkgdatadir/$file' to \`$file'" 1>&2 |
322 |
fi |
fi |
323 |
done |
done |
324 |
for file in $files; do |
for file in $files; do |
325 |
if { ( cd $pkgdatadir && $tar cf - $file 2> /dev/null; ) \ |
if { ( cd $pkgdatadir 2>/dev/null && $tar chf - $file 2> /dev/null; ) \ |
326 |
| ( cd libltdl && $tar xf - > /dev/null 2>&1; ) } ; then : |
| ( umask 0 && cd libltdl 2>/dev/null && $tar xf - > /dev/null 2>&1; ) } ; then : |
327 |
elif $cp $pkgdatadir/$file libltdl/$file; then : |
elif $cp $pkgdatadir/$file libltdl/$file; then : |
328 |
else |
else |
329 |
echo "$progname: cannot copy \`$pkgdatadir/$file' to \`libltdl/$file'" 1>&2 |
echo "$progname: cannot copy \`$pkgdatadir/$file' to \`libltdl/$file'" 1>&2 |
351 |
|
|
352 |
$rm $file |
$rm $file |
353 |
if test -n "$ln_s" && $ln_s $pkgdatadir/$file $file; then : |
if test -n "$ln_s" && $ln_s $pkgdatadir/$file $file; then : |
354 |
elif { ( cd $pkgdatadir && $tar cf - $file 2> /dev/null; ) \ |
elif { ( cd $pkgdatadir 2>/dev/null && $tar chf - $file 2> /dev/null; ) \ |
355 |
| $tar xf - > /dev/null 2>&1; } ; then : |
| ( umask 0 && $tar xf - > /dev/null 2>&1; ) } ; then : |
356 |
elif $cp $pkgdatadir/$file $file; then : |
elif $cp $pkgdatadir/$file $file; then : |
357 |
else |
else |
358 |
echo "$progname: cannot copy \`$pkgdatadir/$file' to \`$file'" 1>&2 |
echo "$progname: cannot copy \`$pkgdatadir/$file' to \`$file'" 1>&2 |