Changeset 2327 in kBuild
- Timestamp:
- Apr 10, 2009 4:19:39 PM (16 years ago)
- Location:
- branches/kBuild-0.1.5
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/kBuild-0.1.5
-
branches/kBuild-0.1.5/src/kmk/function.c
r2172 r2327 4228 4228 4229 4229 /* Evaluate the condition in argv[0] and expand the 2nd or 4230 3rd argument according to the result. */4230 3rd (optional) argument according to the result. */ 4231 4231 rc = expr_eval_if_conditionals (argv[0], NULL); 4232 4232 to_expand = rc == 0 ? argv[1] : argv[2]; 4233 if ( *to_expand)4233 if (to_expand && *to_expand) 4234 4234 variable_expand_string_2 (o, to_expand, -1, &o); 4235 4235
Note:
See TracChangeset
for help on using the changeset viewer.