From f3d2b753b0857e138033f1c2416caa46cd7c32da Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sun, 15 Jan 2012 11:42:54 +0100 Subject: fix initramfs generation on Darwin with a small find wrapper --- scripts/find | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 scripts/find (limited to 'scripts') 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 -- cgit v1.2.3