aboutsummaryrefslogtreecommitdiff
path: root/libbb
diff options
context:
space:
mode:
Diffstat (limited to 'libbb')
-rw-r--r--libbb/lineedit.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libbb/lineedit.c b/libbb/lineedit.c
index 5eb701f00..1a3f29656 100644
--- a/libbb/lineedit.c
+++ b/libbb/lineedit.c
@@ -743,9 +743,11 @@ static int path_parse(char ***p)
743 char *tmp; 743 char *tmp;
744 char **res; 744 char **res;
745 745
746#if EDITING_HAS_path_lookup
746 if (state->flags & WITH_PATH_LOOKUP) 747 if (state->flags & WITH_PATH_LOOKUP)
747 pth = state->path_lookup; 748 pth = state->path_lookup;
748 else 749 else
750#endif
749 pth = getenv("PATH"); 751 pth = getenv("PATH");
750 752
751 /* PATH="" or PATH=":"? */ 753 /* PATH="" or PATH=":"? */