From 82731b4b7a5634bdee52d98b1a7686e18a861ebc Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Mon, 17 May 2010 17:49:52 +0200 Subject: ash,hush: make "source" a synonym for . if bash compat is on Signed-off-by: Denys Vlasenko --- shell/ash.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'shell/ash.c') diff --git a/shell/ash.c b/shell/ash.c index ef5b2d4..ea813e0 100644 --- a/shell/ash.c +++ b/shell/ash.c @@ -8944,7 +8944,9 @@ static const struct builtincmd builtintab[] = { { BUILTIN_SPEC_REG "return" , returncmd }, { BUILTIN_SPEC_REG "set" , setcmd }, { BUILTIN_SPEC_REG "shift" , shiftcmd }, +#if ENABLE_ASH_BASH_COMPAT { BUILTIN_SPEC_REG "source" , dotcmd }, +#endif #if ENABLE_ASH_BUILTIN_TEST { BUILTIN_REGULAR "test" , testcmd }, #endif -- cgit v1.1