Skip to content
Snippets Groups Projects
Commit d16b4243 authored by Timo Teräs's avatar Timo Teräs
Browse files

apk: honour --root command line switch

Was broken by earlier ROOT environment commit.
parent b8940df6
No related branches found
No related tags found
No related merge requests found
......@@ -115,7 +115,8 @@ int main(int argc, char **argv)
argc -= optind;
argv += optind;
apk_root = getenv("ROOT");
if (apk_root == NULL)
apk_root = getenv("ROOT");
if (apk_root == NULL)
apk_root = "/";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment