]>
cygwin.com Git - cygwin-apps/setup.git/blob - script.h
2 * Copyright (c) 2001, Jan Nieuwenhuizen.
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
9 * A copy of the GNU General Public License can be found at
12 * Written by Jan Nieuwenhuizen <janneke@gnu.org>
18 /* Run the script fname, found in dir. If fname has suffix .sh, and
19 we have a Bourne shell, execute it using sh. Otherwise, if fname
20 has suffix .bat, execute using cmd */
22 void run_script (char const *dir
, char const *fname
);
24 /* Initialisation stuff for run_script: sh, cmd, CYGWINROOT and PATH */
25 void init_run_script ();
27 /* Run the scripts fname.sh and fname.bat, found in dir. */
28 void try_run_script (char const *dir
, char const *fname
);
This page took 0.035133 seconds and 5 git commands to generate.