ash,hush: make "source" a synonym for . if bash compat is on
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
diff --git a/shell/hush.c b/shell/hush.c
index 1bc0c61..a88fa05 100644
--- a/shell/hush.c
+++ b/shell/hush.c
@@ -673,6 +673,9 @@
#endif
BLTIN("set" , builtin_set , "Set/unset positional parameters"),
BLTIN("shift" , builtin_shift , "Shift positional parameters"),
+#if ENABLE_HUSH_BASH_COMPAT
+ BLTIN("source" , builtin_source , "Run commands in a file"),
+#endif
BLTIN("trap" , builtin_trap , "Trap signals"),
BLTIN("type" , builtin_type , "Show command type"),
BLTIN("ulimit" , shell_builtin_ulimit , "Control resource limits"),