fixed GNU cpio detection
authorewt <devnull@localhost>
Tue, 10 Dec 1996 23:15:20 +0000 (23:15 +0000)
committerewt <devnull@localhost>
Tue, 10 Dec 1996 23:15:20 +0000 (23:15 +0000)
CVS patchset: 1219
CVS date: 1996/12/10 23:15:20

configure.in

index 7890b27..7fedea0 100644 (file)
@@ -33,7 +33,7 @@ if test -z "$CPIOBIN"; then
        IFS=:
        for n in $PATH:/opt/gnu/bin; do
                if test -f $n/cpio; then
-                       $n/cpio --quiet >/dev/null 2>/dev/null
+                       $n/cpio --quiet -o < /dev/null >/dev/null 2>/dev/null
                        if test "$?" = "0"; then
                                CPIOBIN="$n/cpio";
                        fi