diff options
-rw-r--r-- | build/pack.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/build/pack.c b/build/pack.c index 2edc150e8..60ce41dc7 100644 --- a/build/pack.c +++ b/build/pack.c @@ -59,7 +59,8 @@ static int generateRPM(char *name, /* name-version-release */ } else { archName = getArchName(); sprintf(filename, "%s/%s/%s.%s.rpm", getVar(RPMVAR_RPMDIR), - getVar(RPMVAR_ARCHSENSITIVE) ? archName : "", name, archName); + getBooleanVar(RPMVAR_ARCHSENSITIVE) ? archName : "", + name, archName); } /* Write the archive to a temp file so we can get the size */ |