summaryrefslogtreecommitdiffstats
path: root/mdk-stage1/directory.c
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-11-05 13:53:41 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-11-05 13:53:41 +0000
commit359e3af375c009d03a6836baf1d558ff83d5ac3c (patch)
treea2211335772f4ebac34f61a54a8d3e0491a6c0b2 /mdk-stage1/directory.c
parent7df683409a22ecfdf576fb307ce9f015a4ac53d9 (diff)
downloaddrakx-359e3af375c009d03a6836baf1d558ff83d5ac3c.tar
drakx-359e3af375c009d03a6836baf1d558ff83d5ac3c.tar.gz
drakx-359e3af375c009d03a6836baf1d558ff83d5ac3c.tar.bz2
drakx-359e3af375c009d03a6836baf1d558ff83d5ac3c.tar.xz
drakx-359e3af375c009d03a6836baf1d558ff83d5ac3c.zip
RAMDISK_LOCATION_REL is a better name than RAMDISK_LOCATION
Diffstat (limited to 'mdk-stage1/directory.c')
-rw-r--r--mdk-stage1/directory.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mdk-stage1/directory.c b/mdk-stage1/directory.c
index e1535c6e3..b8ced9cff 100644
--- a/mdk-stage1/directory.c
+++ b/mdk-stage1/directory.c
@@ -145,9 +145,9 @@ enum return_type try_with_directory(char *directory, char *method_live, char *me
#ifndef MANDRAKE_MOVE
if (IS_RESCUE || ((loopdev || streq(method_live, "disk")) && ramdisk_possible())) {
/* RAMDISK install */
- if (access(IMAGE_LOCATION RAMDISK_LOCATION, R_OK)) {
+ if (access(IMAGE_LOCATION "/" RAMDISK_LOCATION_REL, R_OK)) {
stg1_error_message("I can't find the " DISTRIB_NAME " Distribution in the specified directory. "
- "(I need the subdirectory " RAMDISK_LOCATION ")\n"
+ "(I need the subdirectory " RAMDISK_LOCATION_REL ")\n"
"Here's a short extract of the files in the directory:\n"
"%s", extract_list_directory(IMAGE_LOCATION));
umount(IMAGE_LOCATION);