From d0fb8cac3f8bbd87d5551647bbdbf9be3747f794 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Fri, 25 Jun 2004 07:18:58 +0000 Subject: use relative symlink to image location in disk/nfs install, to have a working stage2 --- mdk-stage1/directory.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mdk-stage1') diff --git a/mdk-stage1/directory.c b/mdk-stage1/directory.c index 00c6bb872..fe3ccda70 100644 --- a/mdk-stage1/directory.c +++ b/mdk-stage1/directory.c @@ -136,7 +136,7 @@ enum return_type try_with_directory(char *directory, char *method_live, char *me add_to_env("METHOD", method_iso); } else { log_message("assuming %s is a mirror tree", location_full); - symlink(location_full, IMAGE_LOCATION); + symlink(basename(location_full), IMAGE_LOCATION); add_to_env("METHOD", method_live); } #ifndef MANDRAKE_MOVE -- cgit v1.2.1