summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2015-03-24 21:40:09 +0300
committerIgor Pashev <pashev.igor@gmail.com>2015-03-24 21:40:09 +0300
commit030eb1cecb5bca5a5999dee1fd3f37639ab79a2d (patch)
tree8e0e40aed47ff651f6ccf2ae6fe760ab6c4d5865
parent036ccd8efa9ca16734b8baf4cc022eacb5d78576 (diff)
downloadgunmake-030eb1cecb5bca5a5999dee1fd3f37639ab79a2d.tar.gz
Ignore ? before the command in SunOS mode
-rw-r--r--job.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/job.c b/job.c
index 3d9aec5..03d83b1 100644
--- a/job.c
+++ b/job.c
@@ -1190,6 +1190,8 @@ start_job_command (struct child *child)
flags |= COMMANDS_RECURSE;
else if (*p == '-')
child->noerror = 1;
+ else if (sun_flag && (*p == '?')) /* ignored. */
+ ;
else if (!isblank ((unsigned char)*p))
break;
++p;