do pax -L so that symlinks aren't blown away.

Beginning of work to fix PR install/8090 from Luke Mewburn
This commit is contained in:
perry 2003-04-06 19:41:03 +00:00
parent 1f2f4a71fc
commit 1b49023f24

View File

@ -1,6 +1,6 @@
#!/bin/sh
#
# $NetBSD: maketars,v 1.38 2003/01/21 19:07:05 erh Exp $
# $NetBSD: maketars,v 1.39 2003/04/06 19:41:03 perry Exp $
#
# Make release tar files for some or all lists. Usage:
# maketars [-b] [-x] [-i installdir] [-a arch] [-m machine] [-s setsdir]
@ -171,7 +171,7 @@ for setname in $lists; do
if [ -n "$installdir" ]; then
( cd $dest ; \
${PAX} -O -rwpe -d -N${etcdir} ${metalog:+-M} \
${PAX} -O -L -rwpe -d -N${etcdir} ${metalog:+-M} \
$installdir < ${SDIR}/plist.$setname )
else
( cd $dest ; \