summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Landley2006-05-12 20:44:16 +0000
committerRob Landley2006-05-12 20:44:16 +0000
commit47b1838957c1f303077f802f2dd6ed2e5d57be5f (patch)
tree201870db95e6020206809a30534f7f4ea4a23cdd
parentd7384296f621e39e2fd86e6e3aae7e743b0aee65 (diff)
downloadbusybox-47b1838957c1f303077f802f2dd6ed2e5d57be5f.zip
busybox-47b1838957c1f303077f802f2dd6ed2e5d57be5f.tar.gz
Patch from Lucas C. Villa Real adding "source" as a synonym for the "." command.
-rw-r--r--shell/ash.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/shell/ash.c b/shell/ash.c
index 9eb395f..708ab21 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 },