diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2010-05-17 17:49:52 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2010-05-17 17:49:52 +0200 |
commit | 82731b4b7a5634bdee52d98b1a7686e18a861ebc (patch) | |
tree | 21e862dbfe091e0c893357d3a9904d36bd6a5044 /shell/ash.c | |
parent | cd10dc40e4057d081caf7676a4fed31977f2d94d (diff) | |
download | busybox-w32-82731b4b7a5634bdee52d98b1a7686e18a861ebc.tar.gz busybox-w32-82731b4b7a5634bdee52d98b1a7686e18a861ebc.tar.bz2 busybox-w32-82731b4b7a5634bdee52d98b1a7686e18a861ebc.zip |
ash,hush: make "source" a synonym for . if bash compat is on
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell/ash.c')
-rw-r--r-- | shell/ash.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/shell/ash.c b/shell/ash.c index ef5b2d4c1..ea813e02f 100644 --- a/shell/ash.c +++ b/shell/ash.c | |||
@@ -8944,7 +8944,9 @@ static const struct builtincmd builtintab[] = { | |||
8944 | { BUILTIN_SPEC_REG "return" , returncmd }, | 8944 | { BUILTIN_SPEC_REG "return" , returncmd }, |
8945 | { BUILTIN_SPEC_REG "set" , setcmd }, | 8945 | { BUILTIN_SPEC_REG "set" , setcmd }, |
8946 | { BUILTIN_SPEC_REG "shift" , shiftcmd }, | 8946 | { BUILTIN_SPEC_REG "shift" , shiftcmd }, |
8947 | #if ENABLE_ASH_BASH_COMPAT | ||
8947 | { BUILTIN_SPEC_REG "source" , dotcmd }, | 8948 | { BUILTIN_SPEC_REG "source" , dotcmd }, |
8949 | #endif | ||
8948 | #if ENABLE_ASH_BUILTIN_TEST | 8950 | #if ENABLE_ASH_BUILTIN_TEST |
8949 | { BUILTIN_REGULAR "test" , testcmd }, | 8951 | { BUILTIN_REGULAR "test" , testcmd }, |
8950 | #endif | 8952 | #endif |