diff options
Diffstat (limited to 'src/apk.c')
-rw-r--r-- | src/apk.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 = "/"; |