diff options
Diffstat (limited to 'scripts/cpio')
-rwxr-xr-x | scripts/cpio | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/scripts/cpio b/scripts/cpio new file mode 100755 index 000000000..7936b727f --- /dev/null +++ b/scripts/cpio @@ -0,0 +1,18 @@ +#!/usr/bin/env bash +# This file is part of the OpenADK project. OpenADK is copyrighted +# material, please see the LICENCE file in the top-level directory. + +os=$(uname) +case $os in + NetBSD|MirBSD|OpenBSD) + quiet="" + ;; + *) + quiet="--quiet" + ;; +esac +if [ -x /usr/bin/cpio ];then + /usr/bin/cpio $quiet "$@" +else + /bin/cpio $quiet "$@" +fi |