summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2005-03-04 19:33:34 +0000
committerOlivier Blin <oblin@mandriva.org>2005-03-04 19:33:34 +0000
commitdd5f94f64e3c8dbe65a344e6c3567e6a22372e32 (patch)
tree401294315a19c3dc3abc63aaac7d8c555bef9031
parent134538fb1ff9e597a1eaa9df21d655ba59e445d6 (diff)
downloaddrakx-dd5f94f64e3c8dbe65a344e6c3567e6a22372e32.tar
drakx-dd5f94f64e3c8dbe65a344e6c3567e6a22372e32.tar.gz
drakx-dd5f94f64e3c8dbe65a344e6c3567e6a22372e32.tar.bz2
drakx-dd5f94f64e3c8dbe65a344e6c3567e6a22372e32.tar.xz
drakx-dd5f94f64e3c8dbe65a344e6c3567e6a22372e32.zip
set MODE_TESTING too if DEBUGSTAGE1 is set
-rw-r--r--mdk-stage1/stage1.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/mdk-stage1/stage1.c b/mdk-stage1/stage1.c
index c15bd7201..2aa584cbf 100644
--- a/mdk-stage1/stage1.c
+++ b/mdk-stage1/stage1.c
@@ -607,8 +607,10 @@ int main(int argc __attribute__ ((unused)), char **argv __attribute__ ((unused))
finish_frontend();
return 0;
#else
- if (getenv("DEBUGSTAGE1"))
+ if (getenv("DEBUGSTAGE1")) {
+ set_param(MODE_DEBUGSTAGE1);
set_param(MODE_TESTING);
+ }
if (!IS_TESTING) {
mkdir(SLASH_LOCATION, 0755);