Properly quote recursive pkg_add operations so that filenames with
spaces or special characters in them won't barf.
This commit is contained in:
parent
f9f6897972
commit
11fed5e2e0
@ -260,7 +260,7 @@ pkg_do(char *pkg)
|
||||
if (cp) {
|
||||
if (Verbose)
|
||||
printf("Loading it from %s.\n", cp);
|
||||
if (vsystem("pkg_add %s%s", Verbose ? "-v " : "", cp)) {
|
||||
if (vsystem("pkg_add %s'%s'", Verbose ? "-v " : "", cp)) {
|
||||
warnx("autoload of dependency `%s' failed%s",
|
||||
cp, Force ? " (proceeding anyway)" : "!");
|
||||
if (!Force)
|
||||
|
Loading…
Reference in New Issue
Block a user