summaryrefslogtreecommitdiff
path: root/mcon/U/Getfile.U
diff options
context:
space:
mode:
authorrmanfredi <rmanfredi@2592e710-e01b-42a5-8df0-11608a6cc53d>2010-11-28 00:21:26 +0000
committerrmanfredi <rmanfredi@2592e710-e01b-42a5-8df0-11608a6cc53d>2010-11-28 00:21:26 +0000
commitc1d13fe0f4272b18a44fff07b956d4e4d206177d (patch)
tree8578a77d28a2534257a6a485e56a5c501869bc9a /mcon/U/Getfile.U
parente1369f5a1a89361f23f54c61a9f3b4384db35c6d (diff)
Moved computation of the filename position in cpp output from Findhdr.U to
a standalone unit. Extracted MIPS system detection from usrinc.U to Mips.U. Compute default value for usrinc by parsing cpp output. Added WINDOWS_SYSTEM define for Windows. Random cleanup. git-svn-id: svn://svn.code.sf.net/p/dist/code/trunk/dist@41 2592e710-e01b-42a5-8df0-11608a6cc53d
Diffstat (limited to 'mcon/U/Getfile.U')
-rw-r--r--mcon/U/Getfile.U3
1 files changed, 2 insertions, 1 deletions
diff --git a/mcon/U/Getfile.U b/mcon/U/Getfile.U
index fe917ad..d8dce00 100644
--- a/mcon/U/Getfile.U
+++ b/mcon/U/Getfile.U
@@ -221,8 +221,9 @@ while test "$type"; do
?X: Always expand ~user if '/' was requested
case "$ansexp" in
/*) value="$ansexp" ;;
-?X: Allow for c:/some/path
+?X: Allow for c:/some/path and c:\some\path
[a-zA-Z]:/*) value="$ansexp" ;;
+ [a-zA-Z]:\\*) value="$ansexp" ;;
*)
redo=true
case "$already" in