Fixed \r\n appearing in unix shell script.
1 parent a92c024 commit 9c9fcc81d745549eb82709eed5c663c27c32e0eb
@Sönke Ludwig Sönke Ludwig authored on 6 Dec 2012
Showing 1 changed file
View
4
source/app.d
flags ~= getPackagesAsVersion(vpm);
flags ~= (Path("source") ~ appName).toNativeString();
flags ~= args[1 .. $];
 
appStartScript = "rdmd " ~ getDflags() ~ " " ~ join(flags, " ") ~ "\r\n";
if( del_exe_file.length ) appStartScript ~= "del \""~del_exe_file~"\"";
appStartScript = "rdmd " ~ getDflags() ~ " " ~ join(flags, " ");
if( del_exe_file.length ) appStartScript ~= "\r\ndel \""~del_exe_file~"\"";
break;
case "upgrade":
logInfo("Upgrading application in '%s'", appPath);
Vpm vpm = new Vpm(Path(appPath), new RegistryPS(registryUrl));