[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
emacs 21.3: -h flag to tar not supported on BSD/OS
From: |
Jeffrey C Honig |
Subject: |
emacs 21.3: -h flag to tar not supported on BSD/OS |
Date: |
Sun, 11 May 2003 21:21:08 -0400 |
While importing emacs-21.3 into BSD/OS 4.3/5.0 I found that Makefile.in
and leim/Makefile.in invoke tar with -chf. The -h flag is not supported
by BSD/OS's tar (which is just a front-end for pax).
I do not see any symlinks in the distribution so I wonder why this flag
is there.
Enclosed is the change I've made.
Thanks.
Jeff
Index: Makefile.in
===================================================================
RCS file: /master/contrib/emacs/Makefile.in,v
retrieving revision 1.2
diff -u -u -r1.2 Makefile.in
--- Makefile.in 2003/04/15 02:56:35 1.2
+++ Makefile.in 2003/05/12 00:58:00
@@ -364,7 +364,7 @@
[ -d $${dir} ] \
&& [ `(cd $${dir} && /bin/pwd)` != `(cd $${dest} && /bin/pwd)` ] \
&& (echo "Copying $${dir} to $${dest}..." ; \
- (cd $${dir}; tar -chf - . ) \
+ (cd $${dir}; tar -cf - . ) \
| (cd $${dest}; umask 022; \
tar -xvf - && cat > /dev/null) || exit 1; \
for subdir in `find $${dest} -type d ! -name RCS ! -name CVS
-print` ; do \
@@ -403,7 +403,7 @@
if [ `(cd ./etc; /bin/pwd)` != `(cd ${docdir}; /bin/pwd)` ]; \
then \
echo "Copying etc/DOC-* to ${docdir} ..." ; \
- (cd ./etc; tar -chf - DOC*) \
+ (cd ./etc; tar -cf - DOC*) \
|(cd ${docdir}; umask 0; tar -xvf - && cat > /dev/null) || exit 1;
\
(cd $(docdir); chmod a+r DOC*; \
if test "`echo DOC-*`" != "DOC-*"; then rm DOC; fi); \
@@ -415,7 +415,7 @@
&& [ x`(cd ${srcdir}/lisp; /bin/pwd)` != x`(cd ./lisp; /bin/pwd)` ];
\
then \
echo "Copying lisp/*.el and lisp/*.elc to ${lispdir} ..." ; \
- (cd lisp; tar -chf - *.el *.elc) \
+ (cd lisp; tar -cf - *.el *.elc) \
|(cd ${lispdir}; umask 0; tar -xvf - && cat > /dev/null) || exit
1; \
else true; fi
-unset CDPATH; \
Index: leim/Makefile.in
===================================================================
RCS file: /master/contrib/emacs/leim/Makefile.in,v
retrieving revision 1.2
diff -u -u -r1.2 Makefile.in
--- leim/Makefile.in 2003/04/15 02:45:57 1.2
+++ leim/Makefile.in 2003/05/12 00:58:19
@@ -198,13 +198,13 @@
rm -rf ${INSTALLDIR}/quail ${INSTALLDIR}/ja-dic ; \
echo "Copying leim files to ${INSTALLDIR} ..." ; \
if [ x`(cd ${srcdir} && /bin/pwd)` = x`(/bin/pwd)` ] ; then \
- tar -chf - leim-list.el quail ja-dic \
+ tar -cf - leim-list.el quail ja-dic \
| (cd ${INSTALLDIR}; umask 0; tar -xvf - && cat > /dev/null) ;\
else \
- tar -chf - leim-list.el quail \
+ tar -cf - leim-list.el quail \
| (cd ${INSTALLDIR}; umask 0; tar -xvf - && cat > /dev/null) ;\
cd ${srcdir}; \
- tar -chf - quail/* ja-dic \
+ tar -cf - quail/* ja-dic \
| (cd ${INSTALLDIR}; umask 0; tar -xvf - && cat > /dev/null) ;\
fi; \
else true; fi
- emacs 21.3: -h flag to tar not supported on BSD/OS,
Jeffrey C Honig <=