diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2010-02-10 19:00:38 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2010-02-10 19:00:38 +0100 |
commit | 2519557c8dbd0a902d89dbced3e85463880babb1 (patch) | |
tree | 4dab7f456bd749c3ce62adc9c3d8f24e7c863bf8 /scripts/cpio | |
parent | 7de93724af9791bad0a8e887d02bf7a3a872305c (diff) | |
parent | fadb47884308490085a33d3fb1e857a0f5e5d748 (diff) |
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'scripts/cpio')
-rwxr-xr-x | scripts/cpio | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/scripts/cpio b/scripts/cpio index 2a12d4ffe..1c481221e 100755 --- a/scripts/cpio +++ b/scripts/cpio @@ -2,4 +2,18 @@ # This file is part of the OpenADK project. OpenADK is copyrighted # material, please see the LICENCE file in the top-level directory. -/bin/cpio --quiet "$@" +os=$(uname) +case $os in + NetBSD|MirBSD) + quiet="" + ;; + *) + quiet="--quiet" + ;; +esac +if [ -x /usr/bin/cpio ];then + /usr/bin/cpio $quiet "$@" +else + /bin/cpio $quiet "$@" +fi + |