Unverified Commit d430aa9d authored by Ian Douglas Scott's avatar Ian Douglas Scott
Browse files

Handle paths correctly

Fixes absolute path
parent e6e8fb9b
......@@ -185,7 +185,7 @@ fn main() {
("install", Some(m)) => {
for package in m.values_of("package").unwrap() {
let pkg = if package.ends_with(".tar.gz") {
let path = format!("{}/{}", env::current_dir().unwrap().to_string_lossy(), package);
let path = env::current_dir().unwrap().join(package);
Package::from_path(&path)
} else {
repo.fetch(package)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment