Skip to content

Commit b240be4

Browse files
authored
Merge pull request #346 from sparkprime/fix_default_lib_path
Fix default -J to use a jsonnet-prefixed path in usr and usr/local
2 parents 9265a9c + d1228de commit b240be4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/libjsonnet.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,8 +180,8 @@ struct JsonnetVm {
180180
stringOutput(false),
181181
fmtDebugDesugaring(false)
182182
{
183-
jpaths.emplace_back("/usr/share/" + std::string(jsonnet_version()) + "/");
184-
jpaths.emplace_back("/usr/local/share/" + std::string(jsonnet_version()) + "/");
183+
jpaths.emplace_back("/usr/share/jsonnet-" + std::string(jsonnet_version()) + "/");
184+
jpaths.emplace_back("/usr/local/share/jsonnet-" + std::string(jsonnet_version()) + "/");
185185
}
186186
};
187187

0 commit comments

Comments
 (0)