Make directory paths safer

This commit is contained in:
Chris de Graaf 2017-08-18 23:00:06 -05:00
parent 61b44a285d
commit 345fbf8a78

View File

@ -21,8 +21,8 @@ include(joinpath("plugins", "travisci.jl"))
include(joinpath("plugins", "githubpages.jl"))
const DEFAULTS_DIR = Pkg.dir("PkgTemplates", "defaults")
const LICENSE_DIR = Pkg.dir("PkgTemplates", "licenses")
const DEFAULTS_DIR = normpath(joinpath(@__DIR__, "..", "defaults"))
const LICENSE_DIR = normpath(joinpath(@__DIR__, "..", "licenses"))
const LICENSES = Dict(
"MIT" => "MIT \"Expat\" License",
"BSD" => "Simplified \"2-clause\" BSD License",