From e3c44d78dba009bae2aae8db6663ad08a8dbb2c8 Mon Sep 17 00:00:00 2001 From: Allan Odgaard Date: Sat, 18 May 2013 08:51:23 +0800 Subject: [PATCH] Add missing variables for export commands Fixes #990. --- Frameworks/file/src/filter.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Frameworks/file/src/filter.cc b/Frameworks/file/src/filter.cc index 374c41e5..cb7cd720 100644 --- a/Frameworks/file/src/filter.cc +++ b/Frameworks/file/src/filter.cc @@ -152,7 +152,7 @@ namespace filter static std::map path_variables (std::string const& path) { - std::map map; + std::map map = oak::basic_environment(); if(path != NULL_STR) { map["TM_DISPLAYNAME"] = path::display_name(path);