automake-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

FYI: fix cpio usage


From: Alexandre Duret-Lutz
Subject: FYI: fix cpio usage
Date: Sun, 23 May 2004 18:19:29 +0200
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux)

I'm installing this on HEAD.

I've seen tar.test failing because cpio did not use -d on extraction.

2004-05-23  Alexandre Duret-Lutz  <address@hidden>

        * m4/tar.m4 (_AM_PROG_TAR) <cpio>: Specify -o and -i option first,
        by POSIX; and use option -d in am_untar.

Index: m4/tar.m4
===================================================================
RCS file: /cvs/automake/automake/m4/tar.m4,v
retrieving revision 1.1
diff -u -r1.1 tar.m4
--- m4/tar.m4   19 Apr 2004 23:20:08 -0000      1.1
+++ m4/tar.m4   23 May 2004 16:18:36 -0000
@@ -68,9 +68,9 @@
     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

-- 
Alexandre Duret-Lutz





reply via email to

[Prev in Thread] Current Thread [Next in Thread]