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
......@@ -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 = "/";
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment