summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-10-13 03:02:30 +0100
committerCarl Hetherington <cth@carlh.net>2013-10-13 03:02:30 +0100
commit5f5ddd2a6c3b25619469b63652718c88d5a3f371 (patch)
tree9f3416dc40098fca0e9017510df9b4a0a93d767b /src/lib
parent1e51605c2e235aed0debe80216755b51b2fec17c (diff)
More OS X debugging.
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/cross.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lib/cross.cc b/src/lib/cross.cc
index 30fe887f8..ac94e8015 100644
--- a/src/lib/cross.cc
+++ b/src/lib/cross.cc
@@ -127,10 +127,11 @@ app_contents ()
}
boost::filesystem::path path (buffer);
+ path = boost::filesystem::canonical (path);
std::cout << "start " << path << "\n";
- path.remove_filename ();
+ path = path.parent_path ();
std::cout << "then " << path << "\n";
- path.remove_filename ();
+ path = path.parent_path ();
std::cout << "and then " << path << "\n";
return path;
}