diff options
author | root <devnull@localhost> | 1996-06-16 16:08:51 +0000 |
---|---|---|
committer | root <devnull@localhost> | 1996-06-16 16:08:51 +0000 |
commit | 689d37c54d56829a08163321676eae7102a96268 (patch) | |
tree | 07b9f1f7f0d7c2172e6093469b1af98b6ecf4e5a /build | |
parent | 744f6a80afb4144c788f12a9fc5f49afcbc24ed7 (diff) | |
download | rpm-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.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 */ |