diff options
Diffstat (limited to 'python/mozbuild')
-rw-r--r-- | python/mozbuild/mozpack/executables.py | 4 | ||||
-rw-r--r-- | python/mozbuild/mozpack/files.py | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/python/mozbuild/mozpack/executables.py b/python/mozbuild/mozpack/executables.py index 22f0a0d96..d2b04fa3d 100644 --- a/python/mozbuild/mozpack/executables.py +++ b/python/mozbuild/mozpack/executables.py @@ -62,13 +62,13 @@ def is_executable(path): ''' Return whether a given file path points to an executable or a library, where an executable or library is identified by: - - the file extension on OS/2 and WINNT + - the file extension on WINNT - the file signature on OS/X and ELF systems (GNU/Linux, Android, BSD, Solaris) As this function is intended for use to choose between the ExecutableFile and File classes in FileFinder, and choosing ExecutableFile only matters - on OS/2, OS/X, ELF and WINNT (in GCC build) systems, we don't bother + on OS/X, ELF and WINNT (in GCC build) systems, we don't bother detecting other kind of executables. ''' if not os.path.exists(path): diff --git a/python/mozbuild/mozpack/files.py b/python/mozbuild/mozpack/files.py index 5c7b21cc9..254bc14ab 100644 --- a/python/mozbuild/mozpack/files.py +++ b/python/mozbuild/mozpack/files.py @@ -137,7 +137,7 @@ class File(BaseFile): class ExecutableFile(File): ''' - File class for executable and library files on OS/2, OS/X and ELF systems. + File class for executable and library files on OS/X and ELF systems. (see mozpack.executables.is_executable documentation). ''' def copy(self, dest, skip_if_older=True): |