src/Pure/Admin/build_polyml.scala
changeset 69366 b6dacf6eabe3
parent 69277 258bef08b31e
child 69691 9c6651cd6141
--- a/src/Pure/Admin/build_polyml.scala	Wed Nov 28 15:38:18 2018 +0100
+++ b/src/Pure/Admin/build_polyml.scala	Wed Nov 28 16:14:31 2018 +0100
@@ -183,7 +183,7 @@
       for (file <- ldd_files) {
         bash(target,
           """install_name_tool -change """ + Bash.string(file) + " " +
-            Bash.string("@executable_path/" + Path.explode(file).base_name) + " poly").check
+            Bash.string("@executable_path/" + Path.explode(file).file_name) + " poly").check
       }
     }