* m4/tar.m4 (_AM_PROG_TAR) <cpio>: Specify -o and -i option first,
authorAlexandre Duret-Lutz <adl@gnu.org>
Sun, 23 May 2004 16:19:43 +0000 (16:19 +0000)
committerAlexandre Duret-Lutz <adl@gnu.org>
Sun, 23 May 2004 16:19:43 +0000 (16:19 +0000)
by POSIX; and use option -d in am_untar.

ChangeLog
m4/tar.m4

index b44b5ed..5750d79 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2004-05-23  Alexandre Duret-Lutz  <adl@gnu.org>
 
+       * m4/tar.m4 (_AM_PROG_TAR) <cpio>: Specify -o and -i option first,
+       by POSIX; and use option -d in am_untar.
+
        * tests/defs.in (PATH): Export it.
 
        * lib/am/multilib.am: Add $(MAKE) comments to multido and
index 27020cf..7f93e02 100644 (file)
--- a/m4/tar.m4
+++ b/m4/tar.m4
@@ -68,9 +68,9 @@ do
     am__untar='pax -r'
     ;;
   cpio)
-    am__tar='find "$$tardir" -print | cpio -H $1 -L -o'
-    am__tar_='find "$tardir" -print | cpio -H $1 -L -o'
-    am__untar='cpio -H $1 -i'
+    am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
+    am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
+    am__untar='cpio -i -H $1 -d'
     ;;
   none)
     am__tar=false