Fixed for AMD64 compatibility
This commit is contained in:
parent
d802a3c961
commit
1114443a43
@ -221,7 +221,17 @@ namespace AMXXRelease
|
||||
|
||||
public static string PropSlashes(string path)
|
||||
{
|
||||
return path.Replace(Path.AltDirectorySeparatorChar,Path.DirectorySeparatorChar);
|
||||
char sep;
|
||||
char alt;
|
||||
if (Releaser.IsWindows)
|
||||
{
|
||||
sep = '\\';
|
||||
alt = '/';
|
||||
} else {
|
||||
sep = '/';
|
||||
alt = '\\';
|
||||
}
|
||||
return path.Replace(alt,sep);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -80,7 +80,10 @@ namespace AMXXRelease
|
||||
p.WaitForExit();
|
||||
|
||||
if (!File.Exists(file))
|
||||
{
|
||||
Console.WriteLine("Output file failed: " + file);
|
||||
return null;
|
||||
}
|
||||
|
||||
//Now we need to see if the DL handle is valid!
|
||||
string dlsym_dir = m_Cfg.GetSourceTree() + "\\plugins";
|
||||
|
@ -1,6 +1,6 @@
|
||||
compress = /bin/tar
|
||||
source = /home1/dvander/amxx
|
||||
source = /home/users/dvander/amxx
|
||||
makeopts = amd64
|
||||
output = /home1/dvander/done
|
||||
output = /home/users/dvander/done
|
||||
devenv = /usr/bin/make
|
||||
release = amxmodx-1.55
|
||||
|
Loading…
Reference in New Issue
Block a user