Changed meaning of -add relative/path

This commit is contained in:
2008-01-27 17:46:04 +00:00
parent 76ed06fe60
commit 9af078f81a
3 changed files with 15 additions and 7 deletions

View File

@ -6012,11 +6012,14 @@ int Xorriso_option_add(struct XorrisO *xorriso, int argc, char **argv,
}
*wpt= 0;
}
/* <<< do not apply wdx to both
if(source[0]!='/') {
ret= Sfile_prepend_path(xorriso->wdx, source, 0);
if(ret<=0)
goto problem_handler;
}
*/
if(split==0) {
strcpy(target, source);
} else if(target[0]!='/') {