diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2008-06-19 15:47:04 +0300 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2008-06-19 15:47:04 +0300 |
commit | f754ad8aa640b7a72936a19dabca64bacdbb5e63 (patch) | |
tree | 34e64114c8dfbbcda47e578dff6da736c1bff539 /build | |
parent | e940b206b95f78063902518e7dd1151bd278b46f (diff) | |
download | rpm-f754ad8aa640b7a72936a19dabca64bacdbb5e63.tar.gz rpm-f754ad8aa640b7a72936a19dabca64bacdbb5e63.tar.bz2 rpm-f754ad8aa640b7a72936a19dabca64bacdbb5e63.zip |
Use type-specific headerPut() where makes sense in build/parseScript
Diffstat (limited to 'build')
-rw-r--r-- | build/parseScript.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/build/parseScript.c b/build/parseScript.c index 0699ccfed..713d998aa 100644 --- a/build/parseScript.c +++ b/build/parseScript.c @@ -323,8 +323,7 @@ int parseScript(rpmSpec spec, int parsePart) headerPut(pkg->header, &td, HEADERPUT_DEFAULT); if (*p != '\0') { - if (rpmtdFromString(&td, tag, p)) - headerPut(pkg->header, &td, HEADERPUT_DEFAULT); + headerPutString(pkg->header, tag, p); } if (file) { |