projects
/
tools
/
librpm-tizen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
744f6a8
)
use getBooleanVar()
author
root
<devnull@localhost>
Sun, 16 Jun 1996 16:08:51 +0000
(16:08 +0000)
committer
root
<devnull@localhost>
Sun, 16 Jun 1996 16:08:51 +0000
(16:08 +0000)
CVS patchset: 638
CVS date: 1996/06/16 16:08:51
build/pack.c
patch
|
blob
|
history
diff --git
a/build/pack.c
b/build/pack.c
index
2edc150
..
60ce41d
100644
(file)
--- 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 */