diff options
author | Waldemar Brodkorb <mail@waldemar-brodkorb.de> | 2012-01-15 11:42:54 +0100 |
---|---|---|
committer | Waldemar Brodkorb <mail@waldemar-brodkorb.de> | 2012-01-15 11:42:54 +0100 |
commit | f3d2b753b0857e138033f1c2416caa46cd7c32da (patch) | |
tree | 27983399dfcbedac20bd5ae50ca3d0e1348566fe /scripts/find | |
parent | 3dc180799c659b0a5006745f18562285d452a2c7 (diff) |
fix initramfs generation on Darwin with a small find wrapper
Diffstat (limited to 'scripts/find')
-rwxr-xr-x | scripts/find | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/scripts/find b/scripts/find new file mode 100755 index 000000000..3990e4f7f --- /dev/null +++ b/scripts/find @@ -0,0 +1,13 @@ +#!/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 + Darwin) + /opt/local/libexec/gnubin/find "$@" + ;; + *) + find "$@" + ;; +esac |