summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorWerner Lemberg <wl@gnu.org>2021-10-18 21:03:38 +0200
committerWerner Lemberg <wl@gnu.org>2021-10-18 21:05:04 +0200
commitde9faa53edadecf05311f8bac0466674814644c1 (patch)
treebe2dc44336c05878fb2a85532751d0d65f97d32d /configure
parent986d503f4a89b13c17ddb5c1fa0cc1dc8ccc3676 (diff)
downloadfreetype2-de9faa53edadecf05311f8bac0466674814644c1.tar.gz
configure: Use string comparison for directory inodes.
Inode values might be larger than integers supported by the shell. Fixes #1105.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index df849718e..584e6ec38 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"