Reduce the number of call to getenv when installing a package
modified libpkg/pkg_add.c
@@ -192,6 +192,7 @@ do_extract(struct archive *a, struct archive_entry *ae, const char *location,
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -276,7 +277,6 @@ do_extract(struct archive *a, struct archive_entry *ae, const char *location,
|
|
|
|
|
|
| - | |
|
|
|
|
|
@@ -357,7 +357,7 @@ do_extract(struct archive *a, struct archive_entry *ae, const char *location,
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|