ref: 94d540ef7753749700eda06cff6be954cdd5ab6e
parent: a5a32c15c594d57b9a512e3b50721caedb5697bc
author: Werner Lemberg <[email protected]>
date: Tue Oct 5 08:28:15 EDT 2010
Fix Savannah bug #31253. Patch submitted by an anonymous reporter. * configure: Use `awk' instead of `sed' to manipulate output of `ls -id'.
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2010-10-05 Werner Lemberg <[email protected]>
+
+ Fix Savannah bug #31253.
+ Patch submitted by an anonymous reporter.
+
+ * configure: Use `awk' instead of `sed' to manipulate output of `ls
+ -id'.
+
2010-10-03 Werner Lemberg <[email protected]>
* Version 2.4.3 released.
--- a/configure
+++ b/configure
@@ -80,8 +80,8 @@
# 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