xbps-create: use the right var in chdir(2) doh.
This commit is contained in:
parent
743eabb88e
commit
b7b6f7f1b4
@ -710,7 +710,7 @@ main(int argc, char **argv)
|
|||||||
process_destdir(mutable_files);
|
process_destdir(mutable_files);
|
||||||
|
|
||||||
/* Back to original cwd after file tree walk processing */
|
/* Back to original cwd after file tree walk processing */
|
||||||
if (chdir(cwd) == -1)
|
if (chdir(p) == -1)
|
||||||
die("cannot chdir() to cwd %s:", cwd);
|
die("cannot chdir() to cwd %s:", cwd);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user