Changeset 258
- Timestamp:
- 05/05/07 13:39:31 (1 year ago)
- Files:
-
- trunk/install.d (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/install.d
r253 r258 84 84 } 85 85 86 char[][] dirList = listdir("."); 87 foreach(d; dirList) 86 if(args.length > 2) 88 87 { 89 if(d[0] == '.' || !isdir(d)) continue; 90 auto derelict = std.path.join(d, "derelict"); 91 if(exists(derelict)) 88 for(int i=2; i<args.length; ++i) 92 89 { 93 process(derelict, iderelict, ""); 90 auto derelict = std.path.join(args[i], "derelict"); 91 if(exists(derelict)) 92 { 93 process(derelict, iderelict, ""); 94 } 94 95 } 95 } 96 } 97 else 98 { 99 char[][] dirList = listdir("."); 100 foreach(d; dirList) 101 { 102 if(d[0] == '.' || !isdir(d)) continue; 103 auto derelict = std.path.join(d, "derelict"); 104 if(exists(derelict)) 105 { 106 process(derelict, iderelict, ""); 107 } 108 } 109 } 96 110 } 97 111
