aboutsummaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorGravatar Rob Landley <rob@landley.net>2006-05-12 20:44:16 +0000
committerGravatar Rob Landley <rob@landley.net>2006-05-12 20:44:16 +0000
commit47b1838957c1f303077f802f2dd6ed2e5d57be5f (patch)
tree201870db95e6020206809a30534f7f4ea4a23cdd /shell
parentd7384296f621e39e2fd86e6e3aae7e743b0aee65 (diff)
downloadbusybox-47b1838957c1f303077f802f2dd6ed2e5d57be5f.tar.gz
busybox-47b1838957c1f303077f802f2dd6ed2e5d57be5f.tar.bz2
Patch from Lucas C. Villa Real adding "source" as a synonym for the "." command.
Diffstat (limited to 'shell')
-rw-r--r--shell/ash.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/shell/ash.c b/shell/ash.c
index 9eb395fd9..708ab21fb 100644
--- a/shell/ash.c
+++ b/shell/ash.c
@@ -1353,6 +1353,7 @@ static const struct builtincmd builtincmd[] = {
{ BUILTIN_SPEC_REG_ASSG "readonly", exportcmd },
{ BUILTIN_SPEC_REG "return", returncmd },
{ BUILTIN_SPEC_REG "set", setcmd },
+ { BUILTIN_SPEC_REG "source", dotcmd },
{ BUILTIN_SPEC_REG "shift", shiftcmd },
{ BUILTIN_SPEC_REG "times", timescmd },
{ BUILTIN_SPEC_REG "trap", trapcmd },