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