Oops. Forgot an ifdef
authorEric Andersen <andersen@codepoet.org>
Fri, 28 Jul 2000 15:19:30 +0000 (15:19 -0000)
committerEric Andersen <andersen@codepoet.org>
Fri, 28 Jul 2000 15:19:30 +0000 (15:19 -0000)
 -Erik

lash.c
sh.c
shell/lash.c

diff --git a/lash.c b/lash.c
index 836fc9b..4727e9b 100644 (file)
--- a/lash.c
+++ b/lash.c
@@ -1414,9 +1414,11 @@ int shell_main(int argc_l, char **argv_l)
                                                strcat(local_pending_command, " ");
                                }
                                break;
+#ifdef BB_FEATURE_SH_ENVIRONMENT
                        case 'x':
                                showXtrace = TRUE;
                                break;
+#endif
                        default:
                                usage(shell_usage);
                }
diff --git a/sh.c b/sh.c
index 836fc9b..4727e9b 100644 (file)
--- a/sh.c
+++ b/sh.c
@@ -1414,9 +1414,11 @@ int shell_main(int argc_l, char **argv_l)
                                                strcat(local_pending_command, " ");
                                }
                                break;
+#ifdef BB_FEATURE_SH_ENVIRONMENT
                        case 'x':
                                showXtrace = TRUE;
                                break;
+#endif
                        default:
                                usage(shell_usage);
                }
index 836fc9b..4727e9b 100644 (file)
@@ -1414,9 +1414,11 @@ int shell_main(int argc_l, char **argv_l)
                                                strcat(local_pending_command, " ");
                                }
                                break;
+#ifdef BB_FEATURE_SH_ENVIRONMENT
                        case 'x':
                                showXtrace = TRUE;
                                break;
+#endif
                        default:
                                usage(shell_usage);
                }