Argument "." for system area import commands
This commit is contained in:
@ -1183,7 +1183,7 @@ int Xorriso_genisofs(struct XorrisO *xorriso, char *whom,
|
||||
char *old_root= NULL, *argpt, *hargv[1];
|
||||
char *boot_path, partno_text[8], *iso_rr_pt, *disk_pt, *rpt, *wpt;
|
||||
char *rm_merge_args[3], *rr_reloc_dir_pt= NULL;
|
||||
char *sort_weight_args[4], *bless_args[6];
|
||||
char *sort_weight_args[4], *bless_args[6], *sa_path;
|
||||
|
||||
struct stat stbuf;
|
||||
|
||||
@ -2384,7 +2384,11 @@ problem_handler_2:;
|
||||
if(i+1>=argc)
|
||||
goto not_enough_args;
|
||||
i++;
|
||||
ret= Xorriso_set_system_area_path(xorriso, argv[i], 0);
|
||||
if(strcmp(argv[i], ".") == 0)
|
||||
sa_path= "";
|
||||
else
|
||||
sa_path= argv[i];
|
||||
ret= Xorriso_set_system_area_path(xorriso, sa_path, 0);
|
||||
if(ret <= 0)
|
||||
goto problem_handler_boot;
|
||||
if(strcmp(argpt, "-isohybrid-mbr")==0)
|
||||
|
Reference in New Issue
Block a user