[pacman-dev] [PATCH] Mac OS X Full path of sed

Kevin Barry barryk at gmail.com
Sun Feb 15 19:47:45 EST 2009


> Please resend both of these patches as separate emails- git tools are
> meant to have one patch per email, whether using format-patch or am.

Sure thing. I'm new to git.

Change configure.ac to use the full path of stat when on darwin/mac.
This is needed for situations when a user installs the GNU/coreutils
and places it in their path before /usr/bin, but the SIZECMD is
already configured for Darwin's version of stat.

Signed-off-by: Kevin Barry <barryk gmail com>
---
 configure.ac |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/configure.ac b/configure.ac
index 2e7f433..216cf76 100644
--- a/configure.ac
+++ b/configure.ac
@@ -190,7 +190,7 @@ case "${host_os}" in
        ;;
    darwin*)
        host_os_darwin=yes
-       SIZECMD="stat -f %z"
+       SIZECMD="/usr/bin/stat -f %z"
        ;;
 esac

-- 
1.6.1.2


More information about the pacman-dev mailing list