From afe9adb61733cd2cbcf5423c91e35d3bff2037a2 Mon Sep 17 00:00:00 2001 From: Alucryd Date: Sat, 26 Jan 2013 18:54:30 +0100 Subject: [PATCH 4929/4929] Make sed follow symlinks Signed-off-by: Maxime Gauduin --- configure.ac | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index e89d4fc..8aa87c5 100644 --- a/configure.ac +++ b/configure.ac @@ -299,7 +299,7 @@ GCC_GNU89_INLINE_CC # Host-dependant definitions INODECMD="stat -c '%i %n'" SIZECMD="stat -c %s" -SEDINPLACE="sed -i" +SEDINPLACE="sed -i --follow-symlinks" DUFLAGS="-sk --apparent-size" STRIP_BINARIES="--strip-all" STRIP_SHARED="--strip-unneeded" @@ -308,14 +308,14 @@ case "${host_os}" in *bsd*) INODECMD="stat -f '%i %n'" SIZECMD="stat -f %z" - SEDINPLACE="sed -i \"\"" + SEDINPLACE="sed -i --follow-symlinks \"\"" DUFLAGS="-sk" ;; darwin*) host_os_darwin=yes INODECMD="/usr/bin/stat -f '%i %n'" SIZECMD="/usr/bin/stat -f %z" - SEDINPLACE="/usr/bin/sed -i ''" + SEDINPLACE="/usr/bin/sed -i --follow-symlinks ''" DUFLAGS="-sk" STRIP_BINARIES="" STRIP_SHARED="-S" -- 1.8.1.1