diff options
| author | Paul Smith <psmith@gnu.org> | 1999-09-17 03:15:37 +0000 |
|---|---|---|
| committer | Paul Smith <psmith@gnu.org> | 1999-09-17 03:15:37 +0000 |
| commit | 2ec3a9b0552e8f197bc2dbf7d1a0d74dea3de8e7 (patch) | |
| tree | 8bea6f8caac20090a1951ab725bd942f7c9bd4ba /tests/scripts/features/default_names | |
| parent | 45c990d00099776c7c6b2b44ab779f753d0c455e (diff) | |
| download | make-2ec3a9b0552e8f197bc2dbf7d1a0d74dea3de8e7.tar.gz | |
* A few script fixes and updates for 3.78.
Diffstat (limited to 'tests/scripts/features/default_names')
| -rw-r--r-- | tests/scripts/features/default_names | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/scripts/features/default_names b/tests/scripts/features/default_names index 824f889b..501f1fc9 100644 --- a/tests/scripts/features/default_names +++ b/tests/scripts/features/default_names @@ -1,3 +1,5 @@ +# -*-perl-*- + $description = "This script tests to make sure that Make looks for default makefiles in the correct order (GNUmakefile,makefile,Makefile)"; @@ -13,7 +15,7 @@ close(MAKEFILE); # DOS/WIN32 platforms preserve case, but Makefile is the same file as makefile. # Just test what we can here (avoid Makefile versus makefile test). # -if ($osname !~ /DOS|Windows/i) +if ($port_type eq 'UNIX') { # Create another makefile called "makefile" open(MAKEFILE,"> makefile"); @@ -45,7 +47,7 @@ unlink $makefile; # DOS/WIN32 platforms preserve case, but Makefile is the same file as makefile. # Just test what we can here (avoid Makefile versus makefile test). # -if ($osname !~ /DOS|Windows/i) +if ($port_type eq 'UNIX') { $answer = "It chose makefile\n"; |
