Backed out changeset be916ac9a1b4 (bug 746223) because it broke the build

This commit is contained in:
Ehsan Akhgari 2012-09-18 10:43:59 -04:00
parent 5d514a979c
commit 62cb9830e6
2 changed files with 7 additions and 2 deletions

View File

@ -285,12 +285,15 @@ main(int argc, char **argv)
case 'd':
dodir = 1;
break;
case 'l':
dolink = 1;
break;
case 'L':
linkprefix = optarg;
lplen = strlen(linkprefix);
dolink = 1;
break;
case 'R':
case 'R':
dolink = dorelsymlink = 1;
break;
case 'm':
@ -386,7 +389,7 @@ main(int argc, char **argv)
linkname = 0;
} else {
if (linkprefix) {
/* -L prefixes names with a $cwd arg. */
/* -L implies -l and prefixes names with a $cwd arg. */
len += lplen + 1;
linkname = xmalloc((unsigned int)(len + 1));
sprintf(linkname, "%s/%s", linkprefix, name);

View File

@ -31,6 +31,8 @@ def _nsinstall_internal(argv):
help="Create directories in target")
p.add_option('-R', action="store_true",
help="Use relative symbolic links (ignored)")
p.add_option('-l', action="store_true",
help="Create link (ignored)")
p.add_option('-L', action="store", metavar="linkprefix",
help="Link prefix (ignored)")
p.add_option('-X', action="append", metavar="file",