diff options
author | Eric Andersen <andersen@codepoet.org> | 2001-07-06 19:24:27 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2001-07-06 19:24:27 +0000 |
commit | 00e56ada9cd67851d8ff3a9660c6e4fd7816a266 (patch) | |
tree | 77c9698acecbb239a4ee16d472fcc985c79b6d01 /sh.c | |
parent | 3bbcc95ac939f50e4319a1dcc0db9e1ba548ba70 (diff) | |
download | busybox-w32-00e56ada9cd67851d8ff3a9660c6e4fd7816a266.tar.gz busybox-w32-00e56ada9cd67851d8ff3a9660c6e4fd7816a266.tar.bz2 busybox-w32-00e56ada9cd67851d8ff3a9660c6e4fd7816a266.zip |
Let people select their shell at compile time.
Diffstat (limited to 'sh.c')
-rw-r--r-- | sh.c | 39 |
1 files changed, 39 insertions, 0 deletions
@@ -0,0 +1,39 @@ | |||
1 | /* vi: set sw=4 ts=4: */ | ||
2 | /* | ||
3 | * Shell wrapper file for busybox | ||
4 | * | ||
5 | * This program is free software; you can redistribute it and/or modify | ||
6 | * it under the terms of the GNU General Public License as published by | ||
7 | * the Free Software Foundation; either version 2 of the License, or | ||
8 | * (at your option) any later version. | ||
9 | * | ||
10 | * This program is distributed in the hope that it will be useful, | ||
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
13 | * General Public License for more details. | ||
14 | * | ||
15 | * You should have received a copy of the GNU General Public License | ||
16 | * along with this program; if not, write to the Free Software | ||
17 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||
18 | * | ||
19 | */ | ||
20 | |||
21 | #include "busybox.h" | ||
22 | |||
23 | #if defined BB_FEATURE_ASH | ||
24 | #include "ash.c" | ||
25 | #elif defined BB_FEATURE_MSH | ||
26 | #include "msh.c" | ||
27 | #elif defined BB_FEATURE_HUSH | ||
28 | #include "hush.c" | ||
29 | #elif defined BB_FEATURE_LASH | ||
30 | #include "lash.c" | ||
31 | #endif | ||
32 | |||
33 | /* | ||
34 | Local Variables: | ||
35 | c-file-style: "linux" | ||
36 | c-basic-offset: 4 | ||
37 | tab-width: 4 | ||
38 | End: | ||
39 | */ | ||