Fixed bug at18021 (hondaman)

Fixed bug at18924 (Arnold)
This commit is contained in:
David Anderson
2005-09-18 03:26:26 +00:00
parent 324f4c58a8
commit ae8bf10746
5 changed files with 30 additions and 18 deletions

View File

@ -29,9 +29,16 @@ namespace AMXXRelease
for (int i=0; i<files.Length; i++)
file_list += GetFileName(files[i]) + " ";
ProcessStartInfo chmod = new ProcessStartInfo();
chmod.FileName = "/bin/chmod";
chmod.WorkingDirectory = dir;
chmod.Arguments = "-R 755 " + file_list;
chmod.UseShellExecute = false;
Process c = Process.Start(chmod);
c.WaitForExit();
info.Arguments = "zcvf " + target + ".tar.gz " + file_list;
Console.WriteLine(info.WorkingDirectory);
Console.WriteLine(info.Arguments);
info.UseShellExecute = false;
Process p = Process.Start(info);