From 35b60523ce6b2e32f33dee7a09ce505cc5512be6 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Thu, 4 Nov 2004 12:16:19 +0000 Subject: LIVE_LOCATION is better named LIVE_LOCATION_REL without the leading "/" --- mdk-stage1/tools.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mdk-stage1/tools.c') diff --git a/mdk-stage1/tools.c b/mdk-stage1/tools.c index a89edf613..ddc939012 100644 --- a/mdk-stage1/tools.c +++ b/mdk-stage1/tools.c @@ -227,7 +227,7 @@ int image_has_stage2() #ifdef MANDRAKE_MOVE return access(IMAGE_LOCATION "/live_tree.clp", R_OK) == 0; #else - return access(IMAGE_LOCATION LIVE_LOCATION, R_OK) == 0; + return access(IMAGE_LOCATION "/" LIVE_LOCATION_REL, R_OK) == 0; #endif } -- cgit v1.2.1