aboutsummaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2019-12-14 16:10:56 +0100
committerFabian Groffen <grobian@gentoo.org>2019-12-14 16:10:56 +0100
commit9284822a7e38ffa6533ac3b048a7ea1d2110b14f (patch)
tree6fff78f2e63b0d3b439230fcbc9a157c7e8f24a6 /main.c
parentmain: try to make repo handling safer (diff)
downloadportage-utils-9284822a7e38ffa6533ac3b048a7ea1d2110b14f.tar.gz
portage-utils-9284822a7e38ffa6533ac3b048a7ea1d2110b14f.tar.bz2
portage-utils-9284822a7e38ffa6533ac3b048a7ea1d2110b14f.zip
qkeyword: default to ARCH when no arch given
By default just operate on the arch specified by the selected profile. This is probably going to be useful in the majority of the cases. Signed-off-by: Fabian Groffen <grobian@gentoo.org>
Diffstat (limited to 'main.c')
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.c b/main.c
index e0b2b9c..869bf31 100644
--- a/main.c
+++ b/main.c
@@ -31,6 +31,7 @@ int verbose = 0;
int quiet = 0;
int twidth;
char pretend = 0;
+char *portarch;
char *portroot;
char *config_protect;
char *config_protect_mask;
@@ -46,7 +47,6 @@ DECLARE_ARRAY(overlays);
DECLARE_ARRAY(overlay_names);
DECLARE_ARRAY(overlay_src);
-static char *portarch;
static char *portedb;
static char *eprefix;
static char *accept_license;