Make `-b' option actually work as advertised.
This commit is contained in:
parent
907d70d6de
commit
f4dfe934d1
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=85470
@ -141,6 +141,7 @@ main(int argc, char **argv)
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case 'b':
|
case 'b':
|
||||||
|
InstalledPkg = optarg;
|
||||||
while ((tmp = strrchr(optarg, (int)'/')) != NULL) {
|
while ((tmp = strrchr(optarg, (int)'/')) != NULL) {
|
||||||
*tmp++ = '\0';
|
*tmp++ = '\0';
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user