summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorroot <devnull@localhost>1996-06-16 16:08:51 +0000
committerroot <devnull@localhost>1996-06-16 16:08:51 +0000
commit689d37c54d56829a08163321676eae7102a96268 (patch)
tree07b9f1f7f0d7c2172e6093469b1af98b6ecf4e5a /build
parent744f6a80afb4144c788f12a9fc5f49afcbc24ed7 (diff)
downloadrpm-689d37c54d56829a08163321676eae7102a96268.tar.gz
rpm-689d37c54d56829a08163321676eae7102a96268.tar.bz2
rpm-689d37c54d56829a08163321676eae7102a96268.zip
use getBooleanVar()
CVS patchset: 638 CVS date: 1996/06/16 16:08:51
Diffstat (limited to 'build')
-rw-r--r--build/pack.c3
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 */