Fix compile error when tab completion disabled
authorGlenn L McGrath <bug1@ihug.co.nz>
Sun, 25 Jan 2004 08:46:10 +0000 (08:46 -0000)
committerGlenn L McGrath <bug1@ihug.co.nz>
Sun, 25 Jan 2004 08:46:10 +0000 (08:46 -0000)
shell/ash.c

index 80145dae5fc3e7d79b185b72b753d91e4e9d472f..d488a543f0df0ab8f367194c062c19c5f3e5d48b 100644 (file)
@@ -4117,7 +4117,7 @@ changepath(const char *newval)
                firstchange = 0;
        clearcmdentry(firstchange);
        builtinloc = idx_bltin;
-#ifdef CONFIG_FEATURE_COMMAND_EDITING
+#ifdef CONFIG_FEATURE_COMMAND_TAB_COMPLETION
        cmdedit_path_lookup = newval;
 #endif
 }