diff options
author | wbx <wbx@netbsd-50-amd64.foo.bar> | 2010-02-09 00:17:46 +0100 |
---|---|---|
committer | wbx <wbx@netbsd-50-amd64.foo.bar> | 2010-02-09 00:17:46 +0100 |
commit | a619c16fa72c3c15a198b452e512a08f18251930 (patch) | |
tree | 509129b67e1fff93dfb6add89d262afbfe5de3ad /scripts/cpio | |
parent | 254ae86e16cddf282b36c0593148e24151ce1f96 (diff) |
add support for netbsd. just minor fixes needed.
Diffstat (limited to 'scripts/cpio')
-rwxr-xr-x | scripts/cpio | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/scripts/cpio b/scripts/cpio index 2a12d4ffe..85c12ed18 100755 --- a/scripts/cpio +++ b/scripts/cpio @@ -2,4 +2,14 @@ # 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 + +/bin/cpio $quiet "$@" |