/[baselayout]/branches/baselayout-1_12/src/runscript.c
Gentoo

Diff of /branches/baselayout-1_12/src/runscript.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1470 Revision 1471
211 char *myargs[32]; 211 char *myargs[32];
212 char **myenv = NULL; 212 char **myenv = NULL;
213 char *caller = argv[1]; 213 char *caller = argv[1];
214 int new = 1; 214 int new = 1;
215 215
216 myargs[0] = "runscript"; 216 /* Need to be /bin/bash, else BASH is invalid */
217 myargs[0] = "/bin/bash";
217 while (argv[new] != 0) { 218 while (argv[new] != 0) {
218 myargs[new] = argv[new]; 219 myargs[new] = argv[new];
219 new++; 220 new++;
220 } 221 }
221 myargs[new] = NULL; 222 myargs[new] = NULL;

Legend:
Removed from v.1470  
changed lines
  Added in v.1471

  ViewVC Help
Powered by ViewVC 1.1.20