summaryrefslogtreecommitdiffstats
path: root/Source/kwsys/System.c
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2007-05-18 13:17:36 (GMT)
committerBrad King <brad.king@kitware.com>2007-05-18 13:17:36 (GMT)
commit07fe611fc6607dced063858aa850cdb1ef59130c (patch)
tree028285cf15d5da6189a51c220021c864c43c7ecf /Source/kwsys/System.c
parentd9bbc3f45f6cc66865957a492d0cdd560d8f765c (diff)
downloadCMake-07fe611fc6607dced063858aa850cdb1ef59130c.zip
CMake-07fe611fc6607dced063858aa850cdb1ef59130c.tar.gz
CMake-07fe611fc6607dced063858aa850cdb1ef59130c.tar.bz2
BUG: Added carrot (^) to characters that need quoting. The solaris shell needs it.
Diffstat (limited to 'Source/kwsys/System.c')
-rw-r--r--Source/kwsys/System.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/kwsys/System.c b/Source/kwsys/System.c
index 289be3e..ec328f8 100644
--- a/Source/kwsys/System.c
+++ b/Source/kwsys/System.c
@@ -71,7 +71,7 @@ static int kwsysSystem_Shell__CharNeedsQuotesOnUnix(char c)
return ((c == '\'') || (c == '`') || (c == ';') || (c == '#') ||
(c == '&') || (c == '$') || (c == '(') || (c == ')') ||
(c == '~') || (c == '<') || (c == '>') || (c == '|') ||
- (c == '*') || (c == '\\'));
+ (c == '*') || (c == '^') || (c == '\\'));
}
/*--------------------------------------------------------------------------*/