cvs commit: ALFS/nALFS/src/handlers stage.c

kpfleming at linuxfromscratch.org kpfleming at linuxfromscratch.org
Tue Feb 10 19:43:30 PST 2004


kpfleming    04/02/10 20:43:30

  Modified:    nALFS/src/handlers stage.c
  Log:
  add parameter definition for <shell> parameter in syntax version 3.2
  
  Revision  Changes    Path
  1.17      +11 -3     ALFS/nALFS/src/handlers/stage.c
  
  Index: stage.c
  ===================================================================
  RCS file: /home/cvsroot/ALFS/nALFS/src/handlers/stage.c,v
  retrieving revision 1.16
  retrieving revision 1.17
  diff -u -r1.16 -r1.17
  --- stage.c	8 Feb 2004 05:23:59 -0000	1.16
  +++ stage.c	11 Feb 2004 03:43:30 -0000	1.17
  @@ -405,6 +405,14 @@
   	return status;
   }
   
  +#if HANDLER_SYNTAX_3_2
  +
  +static const char *stage_parameters_3_2[] =
  +{ "stageinfo", "base", "root", "user", "environment", "variable",
  +  "shell", NULL };
  +
  +#endif
  +
   #if HANDLER_SYNTAX_3_1 || HANDLER_SYNTAX_3_2
   
   static int then_main(element_s *el)
  @@ -520,7 +528,7 @@
   		.name = "stage",
   		.description = "Enter stage: ", // FIXME
   		.syntax_version = "3.2",
  -		.parameters = stage_parameters,
  +		.parameters = stage_parameters_3_2,
   		.main = stage_main,
   		.type = HTYPE_NORMAL | HTYPE_STAGE,
   		.alloc_data = NULL,
  @@ -531,7 +539,7 @@
   		.name = "then",
   		.description = "then",
   		.syntax_version = "3.2",
  -		.parameters = stage_parameters,
  +		.parameters = stage_parameters_3_2,
   		.main = then_main,
   		.type = HTYPE_TRUE_RESULT | HTYPE_STAGE,
   		.alloc_data = NULL,
  @@ -542,7 +550,7 @@
   		.name = "else",
   		.description = "else",
   		.syntax_version = "3.2",
  -		.parameters = stage_parameters,
  +		.parameters = stage_parameters_3_2,
   		.main = else_main,
   		.type = HTYPE_FALSE_RESULT | HTYPE_STAGE,
   		.alloc_data = NULL,
  
  
  



More information about the alfs-log mailing list