Changeset 1213 in MondoRescue for branches/stable/mondo/src/common/libmondo-files.c
- Timestamp:
- Feb 26, 2007, 2:04:43 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/stable/mondo/src/common/libmondo-files.c
r1194 r1213 29 29 30 30 extern int g_currentY; 31 extern char *g_mondo_home;32 31 33 32 /** … … 951 950 952 951 /* BERLIOS: Why do we need to do it here as well ? */ 953 mr_msg(4, "g_mondo_home='%s'", g_mondo_home); 954 if (strlen(g_mondo_home) < 2) { 955 find_and_store_mondoarchives_home(g_mondo_home); 956 } 957 mr_asprintf(&command, CP_BIN " --parents -pRdf %s %s", g_mondo_home, 952 mr_asprintf(&command, CP_BIN " --parents -pRdf %s %s", MONDO_SHARE, 958 953 bkpinfo->scratchdir); 959 954 … … 970 965 mr_free(command); 971 966 972 mr_asprintf(&tmp, "%s/payload.tgz", g_mondo_home);967 mr_asprintf(&tmp, "%s/payload.tgz", MONDO_SHARE); 973 968 if (does_file_exist(tmp)) { 974 969 log_it("Untarring payload %s to scratchdir %s", tmp, … … 1223 1218 } 1224 1219 1225 mr_asprintf(&tmp, "%s/do-not-compress-these", g_mondo_home);1220 mr_asprintf(&tmp, "%s/do-not-compress-these", MONDO_SHARE); 1226 1221 if (!does_file_exist(tmp)) { 1227 1222 mr_free(tmp);
Note:
See TracChangeset
for help on using the changeset viewer.