소스 검색

fixed package/path descrepency

master
root 5 달 전
부모
커밋
4095174407
1개의 변경된 파일3개의 추가작업 그리고 2개의 파일을 삭제
  1. +3
    -2
      fetch.d

+ 3
- 2
fetch.d 파일 보기

@@ -81,8 +81,9 @@ int main(string[] args) {
}
auto package_path = to!string(files[0]);
if(!package_path.canFind(".d")){
package_path = package_path ~ "/package.d";
string link_script = "ln -s " ~ package_path.replace(".d","") ~ " " ~ package_name;
//package_path = package_path ~ "/package.d";
auto auto_package_name = package_path.split("/")[$-1];
string link_script = "ln -s " ~ package_path.replace(".d","") ~ " " ~ auto_package_name;
auto link_result = run_script(link_script);
} else {
string link_script = "ln -s " ~ package_path ~ " " ~ package_name ~ ".d";


불러오는 중...
취소
저장