Jean Wolter writes: ash uses bsearch to search in the list of built-in commands,...
authorMike Frysinger <vapier@gentoo.org>
Wed, 21 Jun 2006 18:04:49 +0000 (18:04 -0000)
committerMike Frysinger <vapier@gentoo.org>
Wed, 21 Jun 2006 18:04:49 +0000 (18:04 -0000)
shell/ash.c

index a0eb4e36f73309b7c9846725b004292ad1982fc5..1c5742bdcb0c1103bf9370d8c974b169a687059a 100644 (file)
@@ -1363,8 +1363,8 @@ 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      "source", dotcmd },
 #ifdef CONFIG_ASH_BUILTIN_TEST
        { BUILTIN_REGULAR       "test", testcmd },
 #endif