Skip to content

Commit 43c9e79

Browse files
authored
Change OS check from 'linux' to 'unix'
Updated OS check to use 'os_family' for Unix compatibility.
1 parent cafb0dd commit 43c9e79

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

testsuite/get_path_to_exe.pro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ known_case=0
1111
;
1212
; On Linux, this is fine with GDL, IDL & FL
1313
;
14-
if (STRLOWCASE(!version.os) EQ 'linux') then begin
14+
if (STRLOWCASE(!version.os_family) eq 'unix') then begin ; Not BSD see #2158
1515
get_pid=FILE_READLINK('/proc/self')
1616
get_abspath_to_exe=FILE_READLINK('/proc/'+get_pid+'/exe')
1717
known_case=1

0 commit comments

Comments
 (0)