Working installer. No more StepMania Libs files that you all hate so much.

This commit is contained in:
Steve Checkoway
2003-09-16 04:22:25 +00:00
parent 223db1e0e5
commit ec8b6fcf1a
3 changed files with 11 additions and 2 deletions
+6
View File
@@ -38,6 +38,12 @@ inline bool IsADirectory(const CString& path)
return s.st_mode & S_IFDIR;
}
bool DoesFileExist(const CString& path)
{
struct stat s;
return !stat(path, &s);
}
inline CString LastPathComponent(const CString& path)
{
unsigned pos = path.rfind('/');