Changeset 3500 in MondoRescue for branches/3.2
- Timestamp:
- Feb 9, 2016, 2:42:10 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.2/mondo/src/common/libmondo-tools.c
r3394 r3500 11 11 #include "my-stuff.h" 12 12 #include "mr_mem.h" 13 #include "mr_sys.h" 13 14 #include "mondostructures.h" 14 15 #include "lib-common-externs.h" … … 698 699 mr_asprintf(tmp, "%s/mondo.tmp.XXXXXX", path); 699 700 } else if (getenv("TMPDIR")) { 701 mr_system("mkdir -p %s",getenv("TMPDIR")); 700 702 mr_asprintf(tmp, "%s/mondo.tmp.XXXXXX", getenv("TMPDIR")); 701 703 } else if (getenv("MRTMP")) { 704 mr_system("mkdir -p %s",getenv("MRTMP")); 702 705 mr_asprintf(tmp, "%s/mondo.tmp.XXXXXX", getenv("MRTMP")); 703 706 } else { … … 743 746 /* Always take in account arg first, then env, then default */ 744 747 if (path != NULL) { 748 mr_system("mkdir -p %s",path); 745 749 mr_asprintf(tmp, "%s/mondo.scratch.XXXXXX", path); 746 750 } else if (getenv("MRSCRATCH")) { 751 mr_system("mkdir -p %s",getenv("MRSCRATCH")); 747 752 mr_asprintf(tmp, "%s/mondo.scratch.XXXXXX", getenv("MRSCRATCH")); 748 753 } else {
Note:
See TracChangeset
for help on using the changeset viewer.