updated to get closer to building using cygwin, which is difficult because
[feisty_meow.git] / nucleus / tools / clam_tools / value_tagger.cpp
index 6c745e500906f01ebe90198a1dd546491d07c75e..240601d435e0df9ca91391029978fa8a04be2e3d 100644 (file)
@@ -373,7 +373,7 @@ variables before running a build.\r\n";
   }
   for (int i = 0; i < temp_dirs.symbols(); i++) {
 //log(astring("curr is ") + current);
-    astring current = parser_bits::substitute_env_vars(temp_dirs.name(i));
+    filename current = filename(parser_bits::substitute_env_vars(temp_dirs.name(i)));
     _dirs.add(current, "");
   }
 
@@ -481,7 +481,7 @@ variables before running a build.\r\n";
 
   byte_filer build_file(fname, "r");
   if (!build_file.good()) {
-    non_continuable_error(class_name(), build_file.filename(),
+    non_continuable_error(class_name(), build_file.name(),
         "Could not find the build configuration; is FEISTY_MEOW_DIR set?");
   }
   byte_array full_config;
@@ -501,7 +501,7 @@ variables before running a build.\r\n";
   build_number += ".";
   build_number += temp_ini.load("version", "build", "");
   if (build_number.equal_to("...")) {
-    non_continuable_error(class_name(), build_file.filename(),
+    non_continuable_error(class_name(), build_file.name(),
         "Could not read the build number; is build parameter file malformed?");
   }