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 | a63f51340b540074dd98bfc7201e2221c5671d28 (patch) | |
tree | 8bea6f8caac20090a1951ab725bd942f7c9bd4ba /tests/scripts/functions/origin | |
parent | 45e04a5860476c40b0943e189c9a58f62dca07c8 (diff) | |
download | gunmake-a63f51340b540074dd98bfc7201e2221c5671d28.tar.gz |
* A few script fixes and updates for 3.78.
Diffstat (limited to 'tests/scripts/functions/origin')
-rw-r--r-- | tests/scripts/functions/origin | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/tests/scripts/functions/origin b/tests/scripts/functions/origin index 721d928..eab2d78 100644 --- a/tests/scripts/functions/origin +++ b/tests/scripts/functions/origin @@ -15,12 +15,13 @@ defined per the following list: 'override' defined by override in makefile 'automatic' Automatic variable\n"; -# On WIN32 systems, HOME is meaningless. SystemRoot should be defined though. -# With DJGPP, HOME is not guaranteed to be defined. Use DJDIR instead. +# On WIN32 systems, HOME is meaningless. SystemRoot should be defined +# though. With DJGPP, HOME is not guaranteed to be defined. Use DJDIR +# instead. # -$homevar = (($osname =~ /Windows/i) - ? "SystemRoot" - : (($osname =~ /DOS/i) ? "DJDIR" : "HOME")); +$homevar = (($port_type eq 'Windows') ? "SystemRoot" + : (($port_type eq 'DOS') ? "DJDIR" + : "HOME")); open(MAKEFILE,"> $makefile"); |