summaryrefslogtreecommitdiff
path: root/install_lib.pl
diff options
context:
space:
mode:
Diffstat (limited to 'install_lib.pl')
-rw-r--r--install_lib.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/install_lib.pl b/install_lib.pl
index 8d37a0c7ff..ae8ba0a990 100644
--- a/install_lib.pl
+++ b/install_lib.pl
@@ -120,7 +120,7 @@ sub samepath {
my($dev1, $ino1, $dev2, $ino2);
($dev1, $ino1) = stat($p1);
($dev2, $ino2) = stat($p2);
- ($dev1 ~~ $dev2 && $ino1 ~~ $ino2);
+ ($dev1 == $dev2 && $ino1 == $ino2);
}
else {
1;