Changeset 183 in MondoRescue for trunk/mondo/mondo
- Timestamp:
- Dec 13, 2005, 2:20:45 AM (18 years ago)
- Location:
- trunk/mondo/mondo/common
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/mondo/mondo/common/Makefile.am
r129 r183 3 3 ## 4 4 5 AM_CPPFLAGS = -DMONDO_LIB=\"$(pkglibdir)\" 5 6 ## Headers 7 6 8 noinst_HEADERS = libmondo-archive.h libmondo-devices.h \ 7 9 libmondo-filelist.h libmondo-files.h libmondo-fork.h \ … … 24 26 libmondo-mountlist.c libmondo-raid.c \ 25 27 libmondo-stream.c libmondo-string.c libmondo-tools.c \ 26 libmondo-verify.c 28 libmondo-verify.c 27 29 libmondo_la_LDFLAGS = -version-info 2:3:0 -shrext .so 28 30 libmondo_la_LIBADD = @LIBS@ -
trunk/mondo/mondo/common/libmondo-tools.c
r171 r183 190 190 char *home_sz = NULL; 191 191 192 asprintf(&home_sz, 193 call_program_and_get_last_line_of_output 194 ("find /usr/lib/ /usr/local/ /usr/share/ /usr/local/share/ /opt/ /ramdisk/usr/share/ -type d -maxdepth 2 -name include -prune -o -type d -maxdepth 2 -path '*/mondo/restore-scripts' -printf '%h\n' 2> /dev/null")); 195 196 if (home_sz[0] == '\0') { 197 paranoid_free(home_sz); 198 asprintf(&home_sz, 199 call_program_and_get_last_line_of_output 200 ("find /usr -type d -path '*/mondo/restore-scripts' -follow -maxdepth 3 -printf '%h\n' 2> /dev/null")); 201 } 202 if (home_sz[0] == '\0') { 203 paranoid_free(home_sz); 204 home_sz = NULL; 205 } else { 206 log_it("mondoarchive home found at %s", home_sz); 207 } 192 asprintf(&home_sz, MONDO_LIB); 208 193 return (home_sz); 209 194 }
Note:
See TracChangeset
for help on using the changeset viewer.