Deal with package filenames which contain spaces.
Submitted by: Ming-I Hsieh <mihs@wm28.csie.ncu.edu.tw> PR: 15667
This commit is contained in:
parent
7d7d807427
commit
aaeed54ed4
@ -490,7 +490,7 @@ unpack(char *pkg, char *flist)
|
||||
else
|
||||
strcpy(args, "-z");
|
||||
strcat(args, " -xpf");
|
||||
if (vsystem("tar %s %s %s", args, pkg, flist ? flist : "")) {
|
||||
if (vsystem("tar %s '%s' %s", args, pkg, flist ? flist : "")) {
|
||||
warnx("tar extract of %s failed!", pkg);
|
||||
return 1;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user