summaryrefslogtreecommitdiffstats
path: root/Source/kwsys/System.c
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2006-10-23 21:20:59 (GMT)
committerBrad King <brad.king@kitware.com>2006-10-23 21:20:59 (GMT)
commit87dcfb54c446ce4916364c1f8991736ee50534d0 (patch)
tree06e6108949728f8b551e17d1684da5d63f5e98fb /Source/kwsys/System.c
parentb25629efc405b979a4f3d03aadf92d34a486e261 (diff)
downloadCMake-87dcfb54c446ce4916364c1f8991736ee50534d0.zip
CMake-87dcfb54c446ce4916364c1f8991736ee50534d0.tar.gz
CMake-87dcfb54c446ce4916364c1f8991736ee50534d0.tar.bz2
ENH: Added # character for shell escaping.
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 33e1149..288513f 100644
--- a/Source/kwsys/System.c
+++ b/Source/kwsys/System.c
@@ -59,7 +59,7 @@ static int kwsysSystem_Shell__CharIsWhitespace(char c)
/*--------------------------------------------------------------------------*/
static int kwsysSystem_Shell__CharNeedsQuotesOnUnix(char c)
{
- return ((c == '\'') || (c == '`') || (c == ';') ||
+ return ((c == '\'') || (c == '`') || (c == ';') || (c == '#') ||
(c == '&') || (c == '$') || (c == '(') || (c == ')'));
}