summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorWerner Lemberg <wl@gnu.org>2010-10-05 12:28:15 +0200
committerWerner Lemberg <wl@gnu.org>2010-10-05 12:28:15 +0200
commit94d540ef7753749700eda06cff6be954cdd5ab6e (patch)
tree50b46dab438f9df8d2cd1f5ae7d288944d06f49d /configure
parenta5a32c15c594d57b9a512e3b50721caedb5697bc (diff)
downloadfreetype2-94d540ef7753749700eda06cff6be954cdd5ab6e.tar.gz
Fix Savannah bug #31253.
Patch submitted by an anonymous reporter. * configure: Use `awk' instead of `sed' to manipulate output of `ls -id'.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index 06fdc8ea7..b39755624 100755
--- a/configure
+++ b/configure
@@ -80,8 +80,8 @@ fi
# build a dummy Makefile if we are not building in the source tree;
# we use inodes to avoid issues with symbolic links
-inode_src=`ls -id $abs_ft2_dir | sed 's/ .*//'`
-inode_dst=`ls -id $abs_curr_dir | sed 's/ .*//'`
+inode_src=`ls -id $abs_ft2_dir | awk '{print $1}'`
+inode_dst=`ls -id $abs_curr_dir | awk '{print $1}'`
if test $inode_src -ne $inode_dst; then
if test ! -d reference; then