Commit de9faa53edadecf05311f8bac0466674814644c1

Werner Lemberg 2021-10-18T21:03:38

configure: Use string comparison for directory inodes. Inode values might be larger than integers supported by the shell. Fixes #1105.

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/configure b/configure
index df84971..584e6ec 100755
--- a/configure
+++ b/configure
@@ -93,7 +93,7 @@ fi
 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 $inode_src != $inode_dst; then
   if test ! -d docs; then
     mkdir docs
     echo "Copying documentation assets"