# | Line 11 | Line 11 | |
---|---|---|
11 | #include <menes-api/exename.hpp> | |
12 | #include <menes-app/application.hpp> | |
13 | ||
14 | – | #include <cassert> |
15 | – | |
14 | string program; | |
15 | bool debug(false); | |
16 | ||
# | Line 20 | Line 18 | struct SiteMapperCommand : public app::A | |
18 | { | |
19 | virtual int Run(const app::ArgumentList& args) | |
20 | { | |
21 | < | program = api::GetExecutableName(); |
21 | > | program = api::GetExecutablePath().GetName(); |
22 | ||
23 | string siteIndex, siteMap; | |
24 | ||
# | Line 72 | Line 70 | void SiteMapper::oldMap(const string& si | |
70 | ||
71 | if (debug) cerr << "comment = " << comment << '\n'; | |
72 | ||
75 | – | assert(comment == " Cheese! "); |
76 | – | |
73 | oldMap(pages, list); | |
74 | } | |
75 |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |